[JBoss Tools (users)] - CCE from building all packages from project
by cavani
I have one project with an EAR content that depends of some other projects (usually packaged as ejbs inside and outside ear or outside pars or jars inside ear lib). Building package by package is very slow for real use. Then I set viewing project as root and run build in project.
Anyway, this works nicely with JB2 and doesn't for JB3 (alpha, beta and last nightly). I found one workaround: update timestamp of .packages files. Building each package works too.
The error I got (same error for a large project and a very tiny for test):
| java.lang.ClassCastException: org.jboss.ide.eclipse.archives.ui.providers.ArchivesContentProviderDelegate$WrappedProject cannot be cast to org.jboss.ide.eclipse.archives.core.model.IArchiveNode
| at org.jboss.ide.eclipse.archives.ui.actions.BuildAction$1.run(BuildAction.java:77)
| at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
|
Sorry if this is a known issue.
Thanks,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187874#4187874
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187874
17 years, 5 months
Re: Running JBoss AS as a window service with JBossNative: probl
by samk@twinix.com
See Thread at: http://www.techienuggets.com/Detail?tx=25887 Posted on behalf of a User
If you call service stop from any directory that is not the one it's located on, then it will shutdown the server. The reason is that it doesn't specify a relative path to the shutdown.bat script. As a result, if you're in a different directory, the win32 command shutdown gets called, and this shuts down the server.
The solution to prevent accidentally shutting down the server, is to edit service.bat so that it's a little more explicit when calling shutdown.bat:
change
call shutdown > shutdown.log 2>&1
to
call .\shutdown.bat > shutdown.log 2>&1
This will prevent the script from politely, but incorrectly, shutting down the server.
In Response To:
When I try to restart the Jboss service from controlPanel-> Services->Jboss the entire machine reboots.
There is no apparent way to stop this process once started
This can cause much customer dissatisfaction.
------------------------
running service.bat restart results in JVM-BIND erors (Port already in use)
----------------------
Is there a way round this - I want my web to redeploy after altering connectors and Aliases
Perhaps I am doing something wrong?
17 years, 5 months