- PR -

JBOSS4.0.2 [TomcatDeployer] deploy WARファイル?フォルダ見つからないです

1
投稿者投稿内容
yangjiayi
ベテラン
会議室デビュー日: 2007/10/04
投稿数: 59
投稿日時: 2007-10-04 10:01
JBOSS4.0.2を使って、JAVAアプリサーバーを立ち上がりました。
あるJAVAアプリケーション(ここで、ソフトの名前は教えられないです)をインストールし、Jbossで起動しようと、エラーが出てきました。

ログは以下になります。
コード:
===============================================================================
.
  JBoss Bootstrap Environment
.
  JBOSS_HOME: C:\jboss-4.0.2\bin\\..
.
  JAVA: C:\j2sdk1.4.2_09\bin\java
.
  JAVA_OPTS:  -Dprogram.name=runjboss.bat -Xms128m -Xmx512m
.
  CLASSPATH: C:\j2sdk1.4.2_09\lib\tools.jar;C:\jboss-4.0.2\bin\\run.jar
.
===============================================================================
.
11:57:30,445 INFO  [Server] Starting JBoss (MX MicroKernel)...
11:57:30,460 INFO  [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)
11:57:30,460 INFO  [Server] Home Dir: C:\jboss-4.0.2
11:57:30,460 INFO  [Server] Home URL: file:/C:/jboss-4.0.2/
11:57:30,460 INFO  [Server] Library URL: file:/C:/jboss-4.0.2/lib/
11:57:30,460 INFO  [Server] Patch URL: null
11:57:30,460 INFO  [Server] Server Name: ssa
11:57:30,460 INFO  [Server] Server Home Dir: C:\jboss-4.0.2\server\ssa
11:57:30,460 INFO  [Server] Server Home URL: file:/C:/jboss-4.0.2/server/ssa/
11:57:30,460 INFO  [Server] Server Data Dir: C:\jboss-4.0.2\server\ssa\data
11:57:30,460 INFO  [Server] Server Temp Dir: C:\jboss-4.0.2\server\ssa\tmp
11:57:30,460 INFO  [Server] Server Config URL: file:/C:/jboss-4.0.2/server/ssa/conf/
11:57:30,460 INFO  [Server] Server Library URL: file:/C:/jboss-4.0.2/server/ssa/lib/
11:57:30,460 INFO  [Server] Root Deployment Filename: jboss-service.xml
11:57:30,460 INFO  [Server] Starting General Purpose Architecture (GPA)...
11:57:31,695 INFO  [ServerInfo] Java version: 1.4.2_09,Sun Microsystems Inc.
11:57:31,695 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_09-b05,Sun Microsystems Inc.
11:57:31,695 INFO  [ServerInfo] OS-System: Windows 2000 5.0,x86
11:57:32,242 INFO  [Server] Core system initialized
11:57:34,648 INFO  [WebService] Using RMI server codebase: http://T06148:8083/
11:57:34,914 INFO  [NamingService] Started jndi bootstrap jnpPort=6840, rmiPort=6841, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
11:58:00,476 INFO  [Embedded] Catalina naming disabled
11:58:00,992 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
11:58:00,992 INFO  [Catalina] Initialization processed in 438 ms
11:58:00,992 INFO  [StandardService] Starting service jboss.web
11:58:01,007 INFO  [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.9
11:58:01,054 INFO  [StandardHost] XML validation disabled

・・・中略・・・

12:03:00,367 INFO  [EjbModule] Deploying ReplicationService
12:03:02,132 INFO  [EJBDeployer] Deployed: file:/C:/jboss-4.0.2/server/ssa/tmp/deploy/tmp54625service.ear-contents/mdb_ejb.jar
12:03:04,429 INFO  [EJBDeployer] Deployed: file:/C:/jboss-4.0.2/server/ssa/tmp/deploy/tmp54625service.ear-contents/shared_ejb.jar
12:03:05,054 INFO  [TomcatDeployer] deploy, ctxPath=/ssa/ecs, warUrl=file:/C:/jboss-4.0.2/server/ssa/tmp/deploy/tmp54625service.ear-contents/ecs-exp.war/
12:03:05,867 INFO  [TomcatDeployer] deploy, ctxPath=/ssa/sc, warUrl=file:/C:/jboss-4.0.2/server/ssa/tmp/deploy/tmp54625service.ear-contents/sc-exp.war/
12:03:06,554 ERROR [[/ssa/sc]] StandardWrapper.Throwable
java.lang.NullPointerException
	at com.epiphany.shr.ui.controller.EpnyServlet.initParameters(EpnyServlet.java:925)
	at com.epiphany.shr.ui.controller.EpnyServlet.init(EpnyServlet.java:235)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
	at org.apache.catalina.core.StandardContext.init(StandardContext.java:5005)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:274)
	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:91)
	at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357)
	at org.jboss.web.WebModule.startModule(WebModule.java:68)
	at org.jboss.web.WebModule.startService(WebModule.java:46)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
	at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
	at $Proxy0.start(Unknown Source)

・・・中略・・・



このログのこれを注意してください。
コード:
12:03:00,367 INFO  [EjbModule] Deploying ReplicationService
12:03:02,132 INFO  [EJBDeployer] Deployed: file:/C:/jboss-4.0.2/server/ssa/tmp/deploy/tmp54625service.ear-contents/mdb_ejb.jar
12:03:04,429 INFO  [EJBDeployer] Deployed: file:/C:/jboss-4.0.2/server/ssa/tmp/deploy/tmp54625service.ear-contents/shared_ejb.jar
12:03:05,054 INFO  [TomcatDeployer] deploy, ctxPath=/ssa/ecs, warUrl=file:/C:/jboss-4.0.2/server/ssa/tmp/deploy/tmp54625service.ear-contents/ecs-exp.war/
12:03:05,867 INFO  [TomcatDeployer] deploy, ctxPath=/ssa/sc, warUrl=file:/C:/jboss-4.0.2/server/ssa/tmp/deploy/tmp54625service.ear-contents/sc-exp.war/



WARファイル?フォルダは実際にローカルにあるかどうかを確認してみたら、ありませんでした。

その原因で、以下の
コード:
12:03:06,554 ERROR [[/ssa/sc]] StandardWrapper.Throwable
java.lang.NullPointerException
	at com.epiphany.shr.ui.controller.EpnyServlet.initParameters(EpnyServlet.java:925)
	at com.epiphany.shr.ui.controller.EpnyServlet.init(EpnyServlet.java:235)


エラーが出るのでしょうか。このエラーが出る原因を調べたいですが、どうすればいいでしょうか。

ちなみに、私はJboss初めて使っています。是非知恵ください。
あしゅ
ぬし
会議室デビュー日: 2005/08/05
投稿数: 613
投稿日時: 2007-10-04 14:44
引用:

yangjiayiさんの書き込み (2007-10-04 10:01) より:
12:03:06,554 ERROR [[/ssa/sc]] StandardWrapper.Throwable
java.lang.NullPointerException
at com.epiphany.shr.ui.controller.EpnyServlet.initParameters(EpnyServlet.java:925)
at com.epiphany.shr.ui.controller.EpnyServlet.init(EpnyServlet.java:235)


Servletが初期化時にNullPointerExceptionしているんだから、
初期化パラメータの設定ミス辺りではないですか?

アプリケーションのマニュアルを読むか、製造元に問い合わせましょう。
1

スキルアップ/キャリアアップ(JOB@IT)