Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Plugin classpath problems, need connection to JBoss server
Plugin classpath problems, need connection to JBoss server [message #156170] Tue, 27 April 2004 20:09 Go to next message
Eclipse UserFriend
Originally posted by: email_is:Jari.Kujansuu.hut.fi.invalid

Hi,

Hope this is correct group :)

We are developing plugin that is used to browse data in our server
runnin on JBoss application server. But now we have problems we can't
seem to be able to solve.

We are using Eclipse 3.0 M8.

Our plugin contains following parts:

Our own code, originally separate projects now each in their own jars:
1) normal java client side data handling
2) EJB connection classes
3) some own libary classes (these might be in separate lib plugin)

Then library jars:
4) jboss-allclient.jar
5) jboss-j2ee.jar
6) jnp-client.jar

These form first plugin.

Second plugin uses first one as connection and creates GUI for data.
From first plugin it uses 1).

When our connection looksup bean home interface and tries to narrow it
PortableremoteObject says barf barf. And not sure if they did
classloader/classpath things correctly when they were trying to get
plugin to see all classes (everything works perfectly when not in plugin
environment).

Just short time ago guy doing it said something about that he checked if
that Jboss proxy object lookup gives said it was BeanHome but right
after that got ClassCastException when trying to use object.

Has anyone done plugin that connects to J2EE server and how you did
setup jars and classpaths?

Any help is welcome even if you haven't personally done plugin that
connects to J2EE server :)



--
jari k

remove unnecessary parts of address to make it work
Re: Plugin classpath problems, need connection to JBoss server [message #156307 is a reply to message #156170] Wed, 28 April 2004 12:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pascal.ibm.canada

hi,

You should look in the platform newsgroup archive because this question
as already been answered.

PaScaL

Jari Kujansuu wrote:
> Hi,
>
> Hope this is correct group :)
>
> We are developing plugin that is used to browse data in our server
> runnin on JBoss application server. But now we have problems we can't
> seem to be able to solve.
>
> We are using Eclipse 3.0 M8.
>
> Our plugin contains following parts:
>
> Our own code, originally separate projects now each in their own jars:
> 1) normal java client side data handling
> 2) EJB connection classes
> 3) some own libary classes (these might be in separate lib plugin)
>
> Then library jars:
> 4) jboss-allclient.jar
> 5) jboss-j2ee.jar
> 6) jnp-client.jar
>
> These form first plugin.
>
> Second plugin uses first one as connection and creates GUI for data.
> From first plugin it uses 1).
>
> When our connection looksup bean home interface and tries to narrow it
> PortableremoteObject says barf barf. And not sure if they did
> classloader/classpath things correctly when they were trying to get
> plugin to see all classes (everything works perfectly when not in plugin
> environment).
>
> Just short time ago guy doing it said something about that he checked if
> that Jboss proxy object lookup gives said it was BeanHome but right
> after that got ClassCastException when trying to use object.
>
> Has anyone done plugin that connects to J2EE server and how you did
> setup jars and classpaths?
>
> Any help is welcome even if you haven't personally done plugin that
> connects to J2EE server :)
>
>
>
Re: Plugin classpath problems, need connection to JBoss server [message #156469 is a reply to message #156307] Wed, 28 April 2004 23:18 Go to previous message
Eclipse UserFriend
Originally posted by: pascal.ibm.canada

Stefan Groschupf has been posting this message in the equinox newsgroup.
You might be interested.
PaScaL
==========================
Call for contributions.

Hi,


after bombing this news group and some mailing list with a lot of
question finally I got jboss 3.2.3 running as eclipse 3 m8 plugin.

I had serializing my code to the cvs of jstaff.sf.net, it's still a
moving target and a lot to do but the concept is working.
I would be happy if someone would be interested to join the project to
contribute ideas, knowledge and code. Its open source.


Thanks for the help so far to Ted Stockwell for sample code and Pascal
Rapicault for some pointers.

Greetings
Stefan
============================
Pascal Rapicault wrote:
> hi,
>
> You should look in the platform newsgroup archive because this question
> as already been answered.
>
> PaScaL
>
> Jari Kujansuu wrote:
>
>> Hi,
>>
>> Hope this is correct group :)
>>
>> We are developing plugin that is used to browse data in our server
>> runnin on JBoss application server. But now we have problems we can't
>> seem to be able to solve.
>>
>> We are using Eclipse 3.0 M8.
>>
>> Our plugin contains following parts:
>>
>> Our own code, originally separate projects now each in their own jars:
>> 1) normal java client side data handling
>> 2) EJB connection classes
>> 3) some own libary classes (these might be in separate lib plugin)
>>
>> Then library jars:
>> 4) jboss-allclient.jar
>> 5) jboss-j2ee.jar
>> 6) jnp-client.jar
>>
>> These form first plugin.
>>
>> Second plugin uses first one as connection and creates GUI for data.
>> From first plugin it uses 1).
>>
>> When our connection looksup bean home interface and tries to narrow it
>> PortableremoteObject says barf barf. And not sure if they did
>> classloader/classpath things correctly when they were trying to get
>> plugin to see all classes (everything works perfectly when not in
>> plugin environment).
>>
>> Just short time ago guy doing it said something about that he checked
>> if that Jboss proxy object lookup gives said it was BeanHome but right
>> after that got ClassCastException when trying to use object.
>>
>> Has anyone done plugin that connects to J2EE server and how you did
>> setup jars and classpaths?
>>
>> Any help is welcome even if you haven't personally done plugin that
>> connects to J2EE server :)
>>
>>
>>
Previous Topic:Launch configurations should be stored in projects
Next Topic:Viewing jar contents in Eclipse
Goto Forum:
  


Current Time: Thu Jun 27 20:51:45 GMT 2024

Powered by FUDForum. Page generated in 0.02880 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top