facebook

hotdeploy and jawin

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #247876 Reply

    mheidt
    Member

    Hi,

    My setup:
    Eclipse 3.1.1
    MyEclipse 4.1.1
    JBoss 3.2.5
    JSF-Project
    jawin:
    -Djava.library.path=c:\jawin\bin in jboss vm arguments

    My problem is, that I need to restart jboss after every deploy.
    The redeploy itself works great!

    But when I click to a part in my webapplication where jawin is used, I get the following error:

    javax.servlet.ServletException: javax.servlet.jsp.JspException: java.lang.UnsatisfiedLinkError: Native Library C:\jawin\bin\jawin.dll already loaded in another classloader

    Hence I’m currently stopping and starting jboss after every deploy. It’s that
    annoying, that a colleague didn’t buy a licence and is currently evaluating Lomboz 🙁

    TIA,
    Markus

    #247937 Reply

    Riyad Kalla
    Member

    You need to navigate to Window > Prefs > MyEclipse > Application Servers > JBoss 3 > Paths, then in the last box “Append to library path”, add the directory C:\jawin\bin to your library path so it can resolve the DLLs it needs.

    #247994 Reply

    mheidt
    Member

    Hi Rijad,

    nope, unfortunately it shows the same behaviour.

    Approx. every second redeploy, I get the following error message as well:

    Missing application web.xml, using defaults only StandardEngine[jboss.web].StandardHost[localhost].StandardContext

    After that the whole application doesn’t work so that I need to restart jboss as well.

    regards,
    Markus

    #248005 Reply

    Riyad Kalla
    Member

    Markus,
    You shouldn’t be deploying to a running app server, the problem is that JBoss is trying to redeploy your app *before* MyEclipse is actually done deploying it.

    My suggestion, stop JBoss, remove your deployment, create an exploded deployment and stop worrying about deployments. The exploded deployment will hotsync files as you change them, no need to mess with deployment manager again.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: hotdeploy and jawin

You must be logged in to post in the forum log in