1. Create JBoss AS 6 Runtime/Server (I'm using 6.0.0.Final)
2. Create a Seam Web Project (WAR) and deploy it to the server.
3. Run the project on the server - HTTP Status 404. No any errors in console.
The project was deployed successfully but it seems that AS doesn't pick up the war from workspace folder.
If I change deploy folder from workspace to the JBoss deploy folder then I get "java.lang.OutOfMemoryError: PermGen space" error in the console:
16:19:01,115 INFO [AbstractJBossASServerBase] Server Configuration: JBOSS_HOME URL: file:/home/igels/Downloads/Java/JBoss/AS/6/jboss-6.0.0.Final/ Bootstrap: $JBOSS_HOME/server/default/conf/bootstrap.xml Common Base: $JBOSS_HOME/common/ Common Library: $JBOSS_HOME/common/lib/ Server Name: default Server Base: $JBOSS_HOME/server/ Server Library: $JBOSS_HOME/server/default/lib/ Server Config: $JBOSS_HOME/server/default/conf/ Server Home: $JBOSS_HOME/server/default/ Server Data: $JBOSS_HOME/server/default/data/ Server Log: $JBOSS_HOME/server/default/log/ Server Temp: $JBOSS_HOME/server/default/tmp/ 16:19:01,118 INFO [AbstractServer] Starting: JBossAS [6.0.0.Final "Neo"] 16:19:02,412 INFO [ServerInfo] Java version: 1.6.0_25,Sun Microsystems Inc. 16:19:02,412 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_25-b06) 16:19:02,420 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 20.0-b11,Sun Microsystems Inc. 16:19:02,420 INFO [ServerInfo] OS-System: Linux 2.6.38-8-generic,amd64 16:19:02,421 INFO [ServerInfo] VM arguments: -Djava.endorsed.dirs=/home/igels/Downloads/Java/JBoss/AS/6/jboss-6.0.0.Final/lib/endorsed -Dfile.encoding=UTF-8 16:19:02,449 INFO [JMXKernel] Legacy JMX core initialized 16:19:05,897 INFO [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA 16:19:06,499 INFO [JSFImplManagementDeployer] Initialized 3 JSF configurations: [Mojarra-1.2, MyFaces-2.0, Mojarra-2.0] 16:19:10,291 WARNING [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal 16:19:57,748 WARN [ClassLoaderManager] Unexpected error during load of:org.jboss.seam.remoting.gwt.GWTService: java.lang.OutOfMemoryError: PermGen space # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f5a22153a42, pid=18893, tid=140024914777856 # # JRE version: 6.0_25-b06 # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.0-b11 mixed mode linux-amd64 compressed oops) # Problematic frame: # V [libjvm.so+0x3dca42] constantPoolOopDesc::klass_at_impl(constantPoolHandle, int, Thread*)+0x42 # # An error report file with more information is saved as: # /home/igels/Downloads/Java/JBoss/AS/6/jboss-6.0.0.Final/bin/hs_err_pid18893.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp #
bin/run.sh starts project w/o any problems and the application works fine.