[jboss-user] [Beginners Corner] - JBoos application server newbie problem

RobLaw do-not-reply at jboss.com
Tue Apr 28 15:37:36 EDT 2009


Hey Folks,

Newbie here.

I am trying to deloy a jsp app using JBoss version 5.0.0.CR2

I am running Windows vista with the firewall turned off

 

i run

run -c all from a dos prompt

 

I can log onto the JBoos welcome page with no trouble & i see the welcome screen at the address http://localhost:8080/

but when i try run my jsp servlet using the following address http://localhost:8080/hello i get

 

type Status report

message /hello

description The requested resource (/hello) is not available.

 

I have copied my helloworld.ear in the C:\jboss\server\all\deploy

The helloworld.ear, contains  the application.xml in the META-INF folder and also the wep-add.war which contains the index.jsp file

 

 

My application.xml file looks like this::::::::::::

 

<?xml version="1.0"?>

  <display-name>Hello Java EE World!</display-name>
  
    
      <web-uri>web-app.war</web-uri>
      <context-root>/hello</context-root>
    
  


 

 

 

the following is the log output when i run jboss from dos, note there are some WARN logs

Any help greatly appreciated

Thanks

/Rob

 

C:\Users\Rob>run -c all
===============================================================================

 

  JBoss Bootstrap Environment

 

  JBOSS_HOME: C:\jboss

 

  JAVA: C:\Program Files\Java\jdk1.6.0_13\bin\java

 

  JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=25
6m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Ds
un.rmi.dgc.server.gcInterval=3600000

 

  CLASSPATH: C:\jboss\bin\run.jar

 

===============================================================================

 

23:46:20,544 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
23:46:20,546 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.CR2 (build: S
VNTag=JBoss_5_0_0_CR2 date=200809171139)
23:46:20,549 INFO  [ServerImpl] Home Dir: C:\jboss
23:46:20,549 INFO  [ServerImpl] Home URL: file:/C:/jboss/
23:46:20,550 INFO  [ServerImpl] Library URL: file:/C:/jboss/lib/
23:46:20,551 INFO  [ServerImpl] Patch URL: null
23:46:20,552 INFO  [ServerImpl] Server Name: all
23:46:20,552 INFO  [ServerImpl] Server Home Dir: C:\jboss\server\all
23:46:20,553 INFO  [ServerImpl] Server Home URL: file:/C:/jboss/server/all/
23:46:20,553 INFO  [ServerImpl] Server Data Dir: C:\jboss\server\all\data
23:46:20,554 INFO  [ServerImpl] Server Temp Dir: C:\jboss\server\all\tmp
23:46:20,554 INFO  [ServerImpl] Server Config URL: file:/C:/jboss/server/all/con
f/
23:46:20,555 INFO  [ServerImpl] Server Library URL: file:/C:/jboss/server/all/li
b/
23:46:20,555 INFO  [ServerImpl] Root Deployment Filename: jboss-service.xml
23:46:21,155 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/j
boss/server/all/conf/bootstrap.xml
23:46:22,041 INFO  [CopyMechanism] VFS temp dir: C:\jboss\server\all\tmp
23:46:22,052 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.

 

23:46:24,045 INFO  [ServerInfo] Java version: 1.6.0_13,Sun Microsystems Inc.
23:46:24,046 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 11.3-b02,Sun
Microsystems Inc.
23:46:24,046 INFO  [ServerInfo] OS-System: Windows Vista 6.0,x86
23:46:24,082 INFO  [JMXKernel] Legacy JMX core initialized
23:46:25,917 INFO  [MetaDataAwareProfile] Using profile root:C:\jboss\server\all

 

23:46:28,050 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083
/
23:46:38,952 WARN  [HackClassloaderMetaDataDeployer] FIXME Using loader reposito
ry config: jboss.console:sar=console-mgr.sar for  vfsfile:/C:/jboss/server/all/d
eploy/management/console-mgr.sar/ use classloading metadata not loader repositor
y config
23:46:39,591 INFO  [AspectDeployer] Deploying xml into org.jboss.aop.AspectManag
er at 3ec403 for BaseClassLoader at 39029b{vfsfile:/C:/jboss/server/all/deploy/ejb3-in
terceptors-aop.xml}
23:46:39,704 INFO  [AspectDeployer] Deploying AOP annotations into org.jboss.aop
.AspectManager at 3ec403 for BaseClassLoader at 15bc8c5{vfszip:/C:/jboss/server/all/de
ploy/cluster/jbossweb-cluster.aop}
23:46:39,714 INFO  [AspectDeployer] Deploying xml into org.jboss.aop.AspectManag
er at 3ec403 for BaseClassLoader at 15bc8c5{vfszip:/C:/jboss/server/all/deploy/cluster
/jbossweb-cluster.aop}
23:46:50,062 INFO  [UnifiedInvokerHA] Service name is jboss:service=invoker,type
=unifiedha
23:46:51,028 INFO  [CorbaNamingService] CORBA Naming Started
23:46:55,026 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx
:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
23:46:55,218 INFO  [MailService] Mail Service bound to java:/Mail
23:46:55,869 INFO  [SnmpAgentService] SNMP agent going active
23:46:57,483 INFO  [DefaultPartition] Initializing partition DefaultPartition
23:46:57,585 WARN  [UDP] failed to join /224.0.0.75:7500 on net2: java.net.Socke
tException: Unrecognized Windows Sockets error: 0: no Inet4Address associated wi
th interface
23:46:57,595 WARN  [UDP] failed to join /224.0.0.75:7500 on eth2: java.net.Socke
tException: Unrecognized Windows Sockets error: 0: no Inet4Address associated wi
th interface
23:46:57,596 WARN  [UDP] failed to join /224.0.0.75:7500 on net6: java.net.Socke
tException: Unrecognized Windows Sockets error: 0: no Inet4Address associated wi
th interface
23:46:57,612 INFO  [STDOUT]
-------------------------------------------------------
GMS: address is 127.0.0.1:49588
-------------------------------------------------------
23:46:57,721 INFO  [STDOUT]
-------------------------------------------------------
GMS: address is 127.0.0.1:49588
-------------------------------------------------------
23:46:59,752 INFO  [RPCManagerImpl] Received new cluster view: [127.0.0.1:49588|
0] [127.0.0.1:49588]
23:46:59,756 INFO  [DefaultPartition] Number of cluster members: 1
23:46:59,757 INFO  [DefaultPartition] Other members: 0
23:46:59,789 INFO  [RPCManagerImpl] Cache local address is 127.0.0.1:49588
23:46:59,824 INFO  [ComponentRegistry] JBoss Cache version: JBossCache 'Poblano'
2.2.0.GA
23:46:59,826 INFO  [DefaultPartition] Fetching serviceState (will wait for 30000
milliseconds):
23:46:59,827 INFO  [DefaultPartition] State could not be retrieved (we are the f
irst member in group)
23:47:01,102 INFO  [HANamingService] Started HAJNDI bootstrap; jnpPort=1100, bac
klog=50, bindAddress=/127.0.0.1
23:47:01,127 INFO  [DetachedHANamingService$AutomaticDiscovery] Listening on /12
7.0.0.1:1102, group=230.0.0.4, HA-JNDI address=127.0.0.1:1100
23:47:01,176 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
23:47:01,177 INFO  [NativeServerConfig] 3.0.3.GA
23:47:02,087 WARN  [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RI
SK. It has been detected that the MessageSucker component which sucks messages f
rom one node to another has not had its password changed from the installation d
efault. Please see the JBoss Messaging user guide for instructions on how to do
this.
23:47:02,298 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA
version) - JBoss Inc.
23:47:02,299 INFO  [TransactionManagerService] Setting up property manager MBean
and JMX layer
23:47:02,558 INFO  [TransactionManagerService] Initializing recovery manager
23:47:02,746 INFO  [TransactionManagerService] Recovery manager configured
23:47:02,746 INFO  [TransactionManagerService] Binding TransactionManager JNDI R
eference
23:47:02,779 INFO  [TransactionManagerService] Starting transaction recovery man
ager
23:47:03,297 INFO  [AprLifecycleListener] The Apache Tomcat Native library which
allows optimal performance in production environments was not found on the java
.library.path: C:\Program Files\Java\jdk1.6.0_13\bin;.;C:\Windows\Sun\Java\bin;C
:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32
\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Com
mon Files\Roxio Shared\10.0\DLLShared\;C:\jboss\bin;C:\Program Files\Java\jdk1.6
.0_13\bin
23:47:03,386 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0
.1-8080
23:47:03,402 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-80
09
23:47:03,403 INFO  [Catalina] Initialization processed in 316 ms
23:47:03,404 INFO  [StandardService] Starting service jboss.web
23:47:03,413 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.1.CR7

 

23:47:03,485 INFO  [Catalina] Server startup in 81 ms
23:47:03,581 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.s
ar/jbossws-management.war
23:47:04,361 INFO  [TomcatDeployment] deploy, ctxPath=/juddi, vfsUrl=juddi-servi
ce.sar/juddi.war
23:47:04,428 INFO  [RegistryServlet] Loading jUDDI configuration.
23:47:04,431 INFO  [RegistryServlet] Resources loaded from: /WEB-INF/juddi.prope
rties
23:47:04,432 INFO  [RegistryServlet] Initializing jUDDI components.
23:47:04,626 INFO  [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=httpha-in
voker.sar/invoker.war
23:47:04,720 INFO  [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=manag
ement/console-mgr.sar/web-console.war
23:47:05,096 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:
/jboss/server/all/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
23:47:05,112 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:
/jboss/server/all/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
23:47:05,138 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:
/jboss/server/all/deploy/jms-ra.rar/META-INF/ra.xml
23:47:05,152 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:
/jboss/server/all/deploy/mail-ra.rar/META-INF/ra.xml
23:47:05,186 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:
/jboss/server/all/deploy/quartz-ra.rar/META-INF/ra.xml
23:47:05,347 INFO  [SimpleThreadPool] Job execution threads will use class loade
r of thread: main
23:47:05,386 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
23:47:05,391 INFO  [RAMJobStore] RAMJobStore initialized.
23:47:05,392 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzSchedule
r' initialized from default resource file in Quartz package: 'quartz.properties'

 

23:47:05,392 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
23:47:05,394 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUS
TERED started.
23:47:05,961 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
oss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
23:47:06,413 WARN  [QuartzTimerServiceFactory] sql failed: CREATE TABLE QRTZ_JOB
_DETAILS(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPT
ION VARCHAR(120) NULL, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(
1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VARCHAR(1) NOT NULL, R
EQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAM
E,JOB_GROUP))
23:47:06,540 INFO  [SimpleThreadPool] Job execution threads will use class loade
r of thread: main
23:47:06,544 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
23:47:06,545 INFO  [JobStoreCMT] Using db table-based data access locking (synch
ronization).
23:47:06,558 INFO  [JobStoreCMT] Removed 0 Volatile Trigger(s).
23:47:06,558 INFO  [JobStoreCMT] Removed 0 Volatile Job(s).
23:47:06,559 INFO  [JobStoreCMT] JobStoreCMT initialized.
23:47:06,561 INFO  [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzSchedu
ler' initialized from an externally provided properties instance.
23:47:06,562 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
23:47:06,565 INFO  [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' st
ate.
23:47:06,569 INFO  [JobStoreCMT] Recovering 0 jobs that were in-progress at the
time of the last shut-down.
23:47:06,570 INFO  [JobStoreCMT] Recovery complete.
23:47:06,573 INFO  [JobStoreCMT] Removed 0 'complete' triggers.
23:47:06,576 INFO  [JobStoreCMT] Removed 0 stale fired job entries.
23:47:06,581 INFO  [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CL
USTERED started.
23:47:06,816 INFO  [ServerPeer] JBoss Messaging 1.4.1.CR1 server [0] started
23:47:07,141 INFO  [STDOUT]
-------------------------------------------------------
GMS: address is 127.0.0.1:49588
-------------------------------------------------------
23:47:09,170 INFO  [GroupMember] org.jboss.messaging.core.impl.postoffice.GroupM
ember$ControlMembershipListener at 1e460dc got new view [127.0.0.1:49588|0] [127.0.
0.1:49588], old view is null
23:47:09,172 INFO  [GroupMember] I am (127.0.0.1:49588)
23:47:09,173 INFO  [GroupMember] New Members : 1 ([127.0.0.1:49588])
23:47:09,173 INFO  [GroupMember] All Members : 1 ([127.0.0.1:49588])
23:47:09,215 WARN  [TCP] failed to join /224.0.0.75:7500 on net2: java.net.Socke
tException: Unrecognized Windows Sockets error: 0: no Inet4Address associated wi
th interface
23:47:09,217 WARN  [TCP] failed to join /224.0.0.75:7500 on eth2: java.net.Socke
tException: Unrecognized Windows Sockets error: 0: no Inet4Address associated wi
th interface
23:47:09,219 WARN  [TCP] failed to join /224.0.0.75:7500 on net6: java.net.Socke
tException: Unrecognized Windows Sockets error: 0: no Inet4Address associated wi
th interface
23:47:09,221 INFO  [STDOUT]
-------------------------------------------------------
GMS: address is 127.0.0.1:7900
-------------------------------------------------------
23:47:14,454 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has l
easing enabled, lease period 10000 milliseconds
23:47:14,455 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.Co
nnectionFactory at 1b335f9 started
23:47:14,476 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pa
geSize=2000, downCacheSize=2000
23:47:15,545 WARN  [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RI
SK. It has been detected that the MessageSucker component which sucks messages f
rom one node to another has not had its password changed from the installation d
efault. Please see the JBoss Messaging user guide for instructions on how to do
this.
23:47:16,122 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has l
easing enabled, lease period 10000 milliseconds
23:47:16,123 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.Co
nnectionFactory at 1f0788d started
23:47:16,137 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has l
easing enabled, lease period 10000 milliseconds
23:47:16,138 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.Co
nnectionFactory at ad2701 started
23:47:16,141 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=20
0000, pageSize=2000, downCacheSize=2000
23:47:16,249 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
23:47:16,260 INFO  [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
23:47:16,325 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-c
onsole.war
23:47:16,443 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8
080
23:47:16,469 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
23:47:16,482 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.0.CR2 (build: SVNTag
=JBoss_5_0_0_CR2 date=200809171139)] Started in 55s:923ms

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227368#4227368

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227368



More information about the jboss-user mailing list