Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2006

Tip: Looking for answers? Try searching our database.

JBoss do not deploy .jar when importing

Thread view: 
Nico - 07 Sep 2006 14:42 GMT
Hi,
i have a problem with the deploy of ejb in JBoss.
When in a java file there is the "import", JBoss do not deploy the .jar
file.

An example:

...
import com.util.Position;
...

If i insert the above code then JBoss do not deploy the ejb.

Can anyone help me please?
Thanks,
Nico.
Philip Reimer - 07 Sep 2006 15:28 GMT
Nico schrieb:
> Hi,
> i have a problem with the deploy of ejb in JBoss.
[quoted text clipped - 10 lines]
>
> Can anyone help me please?

I think, if com.util.Position is neither in the jar you want to deploy
nor in JBoss's classpath then the jar cannot be deployed.

> Thanks,
> Nico.

HTH,
philip
Matt Humphrey - 07 Sep 2006 15:33 GMT
> Hi,
> i have a problem with the deploy of ejb in JBoss.
[quoted text clipped - 8 lines]
>
> If i insert the above code then JBoss do not deploy the ejb.

There are quite alot of steps between adding an import state (which doesn't
even really show up in the compiled code) and having the resulting code
deployed.  What recompiles your code?  How is your deployment package
rebuilt?  How are you deploying the jar?  Is it part of an ear / war? What
does JBoss say when the jar is installed / loaded (JBoss error messages can
be long and cryptic)  Also, if the code does not actually change (which can
be the case if you've only added an import) you may actually be deploying
the same jar--not a new one and JBoss will not detect the change (because
there is no change.)

Matt Humphrey matth@ivizNOSPAM.com http://www.iviz.com/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.