JBoss Seam sample applications 404 error
npgreen Oct 31, 2006 10:04 AMHi, newbie to JBoss Seams, some java/J2EE experience some years ago.
Am following the quickstart as per JBoss Seam article on a WinXP machine,
http://labs.jboss.com/portal/jbossseam/gettingstarted
Have downloaded and installed JDK 5.0 or above and Ant 1.6.
- Downloaded java_ee_sdk-5-windows.exe, installed , hello app working, Duke says hello.
- Downloaded apache-ant-1.6.5-bin.zip, updated path variables, added ANT_Home, Ant seemed to install OK.
Downloaded the JEMS installer (jems-installer-1.2.0.BETA.jar) for JBoss AS 4.0.4 and installed it with the EJB 3.0 profile selected.
No major errors in install log, finishes with
******* Executing all afterpacks actions of jmx-core ...
******* Executing all afterpacks actions of jbossws5 ...
Started JBoss AS with the bin/run - a few warning messages...
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jca:service=RARDeployment,name='jboss-local-jdbc.rar'
State: NOTYETINSTALLED
Depends On Me:
jboss.jca:service=ManagedConnectionFactory,name=bookingDatasource
jboss.jca:service=ManagedConnectionFactory,name=DefaultDS
ObjectName: jboss:service=Naming
State: FAILED
Reason: java.rmi.server.ExportException: Port already in use: 1098; ne
eption is:
java.net.BindException: Address already in use: JVM_Bind
I Depend On:
jboss.system:service=ThreadPool
Depends On Me:
jboss.ws:service=WebServiceClientDeployer
jboss.ws.eventing:service=SubscriptionManager
jboss.mq:service=DestinationManager
jboss.mq:service=Invoker
jboss.mq:service=InvocationLayer,type=UIL
jboss.mq:service=InvocationLayer,type=UILXA
jboss.mq:service=InvocationLayer,type=UIL2,alias=UIL2ConnectionFacto
jboss.mq:service=InvocationLayer,type=UIL2XA,alias=UIL2XAConnectionF
jboss.jms:alias=QueueConnectionFactory
jboss.jms:alias=TopicConnectionFactory
jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFacto
jboss.jmx:alias=jmx/rmi/RMIAdaptor
jboss:service=TransactionManager
ObjectName: jboss:service=WebService
State: FAILED
Reason: java.lang.Exception: Port 8083 already in use.
I Depend On:
jboss.system:service=ThreadPool
Depends On Me:
jboss.ejb:service=EJBDeployer
ObjectName: jboss:service=Hypersonic,database=localDB
State: FAILED
Reason: java.sql.SQLException: The database is already in use by anoth
ss: org.hsqldb.persist.NIOLockFile@87186274[file =C:\Program Files\jboss
A\server\default\data\hypersonic\localDB.lck, exists=true, locked=false,
alse, fl =null]: java.lang.Exception: The process cannot access the fil
e another process has locked a portion of the file : C:\Program Files\jb
4.GA\server\default\data\hypersonic\localDB.lck
Depends On Me:
jboss.jca:service=ManagedConnectionFactory,name=DefaultDS
ObjectName: jboss.jca:service=RARDeployment,name='jms-ra.rar'
State: NOTYETINSTALLED
Depends On Me:
jboss.jca:service=ManagedConnectionFactory,name=JmsXA
14:28:10,672 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVS
s_4_0_4_GA date=200605151000)] Started in 8s:641ms
Downloaded Seam and unpacked it.
Edited build.properties in the Seam directory and configured the path to the JBoss AS installation directory.
In the jboss-seam/examples/booking directory, typed ant deploy (OK) and checked for any error messages (none).
Pointed my browser to http://localhost:8080/seam-booking/ - Http Status 404 error.
What have i done wrong?
Thanks,
Nick