Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2006

Tip: Looking for answers? Try searching our database.

trouble with  websphere

Thread view: 
gk - 25 May 2006 18:39 GMT
i want to make a "web'project in Websphere Application Studio 5.0

i made the project with one "index.jsp"

i clicked  "run project in this server" from the menu.

and got these errors in the console..

*** Starting the server ***
************ Start Display Current Environment ************
WebSphere Platform 5.1 [BASE 5.1.0 b0344.02]  running with process name
localhost\localhost\server1 and process id 3484
Host Operating System is Windows XP, version 5.1
Java version = J2RE 1.4.1 IBM Windows 32 build cn1411-20031011 (JIT
enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
was.install.root = D:\Program Files\IBM\WebSphere Studio\Application
Developer\v5.1.1\runtimes\base_v51
user.install.root = D:\Program Files\IBM\WebSphere Studio\Application
Developer\v5.1.1\runtimes\base_v51
Java Home = D:\Program Files\IBM\WebSphere Studio\Application
Developer\v5.1.1\runtimes\base_v51\java\jre
ws.ext.dirs = D:\Program Files\IBM\WebSphere Studio\Application
Developer\v5.1.1\runtimes\base_v51/java/lib;D:\Program
Files\IBM\WebSphere Studio\Application
Developer\v5.1.1\runtimes\base_v51/classes;D:\Program
Files\IBM\WebSphere Studio\Application
Developer\v5.1.1\runtimes\base_v51/classes;D:\Program
Files\IBM\WebSphere Studio\Application
Developer\v5.1.1\runtimes\base_v51/lib;D:\Program Files\IBM\WebSphere
Studio\Application
Developer\v5.1.1\runtimes\base_v51/lib/ext;D:\Program
Files\IBM\WebSphere Studio\Application
Developer\v5.1.1\runtimes\base_v51/web/help;D:\Program
Files\IBM\WebSphere Studio\Application
Developer\v5.1.1\runtimes\base_v51/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime;D:/Program
Files/IBM/WebSphere Studio/Application
Developer/v5.1.1/wstools/eclipse/plugins/com.ibm.etools.webservice_5.1.1/runtime/worf.jar
Classpath = D:\Program Files\IBM\WebSphere Studio\Application
Developer\v5.1.1\runtimes\base_v51/properties;D:\Program
Files\IBM\WebSphere Studio\Application
Developer\v5.1.1\runtimes\base_v51/properties;D:\Program
Files\IBM\WebSphere Studio\Application
Developer\v5.1.1\runtimes\base_v51/lib/bootstrap.jar;D:\Program
Files\IBM\WebSphere Studio\Application
Developer\v5.1.1\runtimes\base_v51/lib/j2ee.jar;D:\Program
Files\IBM\WebSphere Studio\Application
Developer\v5.1.1\runtimes\base_v51/lib/lmproxy.jar;D:\Program
Files\IBM\WebSphere Studio\Application
Developer\v5.1.1\runtimes\base_v51/lib/urlprotocols.jar;D:/Program
Files/IBM/WebSphere Studio/Application
Developer/v5.1.1/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.1/runtime/wteServers.jar;D:/Program
Files/IBM/WebSphere Studio/Application
Developer/v5.1.1/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.1/runtime/wasToolsCommon.jar
Java Library path = D:\Program Files\IBM\WebSphere Studio\Application
Developer\v5.1.1\runtimes\base_v51/bin;D:\Program Files\IBM\WebSphere
Studio\Application
Developer\v5.1.1\runtimes\base_v51/java/bin;D:\Program
Files\IBM\WebSphere Studio\Application
Developer\v5.1.1\runtimes\base_v51/java/jre/bin;D:\Program
Files\IBM\WebSphere Studio\Application
Developer\v5.1.1\eclipse\jre\bin;.;D:\Program Files\IBM\WebSphere
Studio\Application
Developer\v5.1.1\eclipse\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\j2sdk1.4.2_03\bin;C:\j2sdk1.4.2_03\lib;c:\ant\bin;c:\ant\lib;;C:\PROGRA~1\COMMON~1\MUVEET~1\030625
************* End Display Current Environment *************
[5/25/06 23:02:40:391 IST] 3e44777a ManagerAdmin  I TRAS0017I: The
startup trace state is *=all=disabled.
[5/25/06 23:02:41:688 IST] 3e44777a AdminInitiali A ADMN0015I:
AdminService initialized
[5/25/06 23:02:43:797 IST] 3e44777a Configuration A SECJ0215I:
Successfully set JAAS login provider configuration class to
com.ibm.ws.security.auth.login.Configuration.
[5/25/06 23:02:43:875 IST] 3e44777a SecurityDM    I SECJ0231I: The
Security component's FFDC Diagnostic Module
com.ibm.ws.security.core.SecurityDM registered successfully: true.
[5/25/06 23:02:44:516 IST] 3e44777a SecurityCompo I SECJ0309I: Java 2
Security is disabled.
[5/25/06 23:02:44:531 IST] 3e44777a SecurityCompo I SECJ0212I: WCCM
JAAS configuration information successfully pushed to login provider
class.
[5/25/06 23:02:44:562 IST] 3e44777a SecurityCompo I SECJ0240I: Security
service initialization completed successfully
[5/25/06 23:02:44:562 IST] 3e44777a JMSRegistrati A MSGS0602I:
WebSphere Embedded Messaging Client only has been installed
[5/25/06 23:02:48:797 IST] 3e44777a CacheServiceI I DYNA0048I:
WebSphere Dynamic Cache initialized successfully.
[5/25/06 23:02:51:688 IST] 3e44777a JMXSoapAdapte A ADMC0013I: SOAP
connector available at port 8880
[5/25/06 23:02:51:719 IST] 3e44777a SecurityCompo I SECJ0243I: Security
service started successfully
[5/25/06 23:02:51:719 IST] 3e44777a SecurityCompo I SECJ0210I: Security
enabled false
[5/25/06 23:02:53:359 IST] 3e44777a ApplicationMg A WSVR0200I: Starting
application: IBMUTC
[5/25/06 23:02:53:547 IST] 3e44777a WebContainer  A SRVE0161I: IBM
WebSphere Application Server - Web Container.  Copyright IBM Corp.
1998-2002
[5/25/06 23:02:53:641 IST] 3e44777a WebContainer  A SRVE0162I: Servlet
Specification Level: 2.3
[5/25/06 23:02:53:641 IST] 3e44777a WebContainer  A SRVE0163I:
Supported JSP Specification Level: 1.2
[5/25/06 23:02:55:766 IST] 3e44777a WebContainer  A SRVE0169I: Loading
Web Module: IBM Universal Test Client.
[5/25/06 23:02:58:234 IST] 3e44777a WebGroup      I SRVE0180I: [IBM
Universal Test Client] [/UTC] [Servlet.LOG]: JSP 1.2 Processor: init
[5/25/06 23:02:58:344 IST] 3e44777a WebGroup      I SRVE0180I: [IBM
Universal Test Client] [/UTC] [Servlet.LOG]: SimpleFileServlet: init
[5/25/06 23:02:58:469 IST] 3e44777a ApplicationMg A WSVR0221I:
Application started: IBMUTC
[5/25/06 23:02:58:484 IST] 3e44777a ApplicationMg A WSVR0200I: Starting
application: DefaultEAR
[5/25/06 23:02:58:500 IST] 3e44777a ApplicationMg E WSVR0101W: An error
occurred starting, DefaultEAR
[5/25/06 23:02:58:500 IST] 3e44777a ApplicationMg A WSVR0217I: Stopping
application: DefaultEAR
[5/25/06 23:02:58:641 IST] 3e44777a ApplicationMg A WSVR0220I:
Application stopped: DefaultEAR
[5/25/06 23:02:58:672 IST] 3e44777a ApplicationMg A WSVR0217I: Stopping
application: IBMUTC
[5/25/06 23:02:58:734 IST] 3e44777a WebContainer  A SRVE0170I: Stopping
Web Module: IBM Universal Test Client.
[5/25/06 23:02:58:750 IST] 3e44777a WebGroup      I SRVE0180I: [IBM
Universal Test Client] [/UTC] [Servlet.LOG]: SimpleFileServlet: destroy
[5/25/06 23:02:58:750 IST] 3e44777a WebGroup      I SRVE0180I: [IBM
Universal Test Client] [/UTC] [Servlet.LOG]: JSP 1.2 Processor:
destroy
[5/25/06 23:02:58:797 IST] 3e44777a ApplicationMg A WSVR0220I:
Application stopped: IBMUTC
[5/25/06 23:02:59:234 IST] 3e44777a WsServer      E WSVR0003E: Server
server1 failed to start
com.ibm.ws.exception.RuntimeError
    at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:285)
    at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:249)
    at
com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
    at
com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
    at
com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:125)
    at
com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
    at
com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
    at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
    at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
    at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
    at java.lang.reflect.Method.invoke(Method.java:386)
    at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
    at
com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
Caused by: com.ibm.etools.archive.exception.NoModuleFileException: A
file does not exist for module element having uri: myproject.war
    at
com.ibm.etools.commonarchive.impl.ModuleRefImpl.checkType(ModuleRefImpl.java:715)
    at
com.ibm.etools.commonarchive.impl.ModuleRefImpl.initModuleFileFromEAR(ModuleRefImpl.java:270)
    at
com.ibm.etools.commonarchive.impl.ModuleRefImpl.getModuleFile(ModuleRefImpl.java:247)
    at com.ibm.ws.classloader.ClassGraph.addModule(ClassGraph.java:101)
    at
com.ibm.ws.classloader.ClassLoaderManager.initialize(ClassLoaderManager.java:126)
    at
com.ibm.ws.classloader.ClassLoaderManager.<init>(ClassLoaderManager.java:103)
    at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:529)
    at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:271)
    ... 15 more
---- Begin backtrace for nested exception
com.ibm.etools.archive.exception.NoModuleFileException: A file does not
exist for module element having uri: myproject.war
    at
com.ibm.etools.commonarchive.impl.ModuleRefImpl.checkType(ModuleRefImpl.java:715)
    at
com.ibm.etools.commonarchive.impl.ModuleRefImpl.initModuleFileFromEAR(ModuleRefImpl.java:270)
    at
com.ibm.etools.commonarchive.impl.ModuleRefImpl.getModuleFile(ModuleRefImpl.java:247)
    at com.ibm.ws.classloader.ClassGraph.addModule(ClassGraph.java:101)
    at
com.ibm.ws.classloader.ClassLoaderManager.initialize(ClassLoaderManager.java:126)
    at
com.ibm.ws.classloader.ClassLoaderManager.<init>(ClassLoaderManager.java:103)
    at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:529)
    at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:271)
    at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:249)
    at
com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
    at
com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
    at
com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:125)
    at
com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
    at
com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
    at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
    at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
    at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
    at java.lang.reflect.Method.invoke(Method.java:386)
    at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
    at
com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)

[5/25/06 23:02:59:266 IST] 3e44777a WsServer      E WSVR0009E: Error
occurred during startup

QUESTION:  can you tell whats the problem with this ?
gk - 25 May 2006 18:43 GMT
does it wants to say that no war file has been prepared ?

well, i dont know.....i dont see any  "create war  file '  kind of menu
in  websphere studio.

but i used "rebuild project" before running the project on the server.

whats the solution of this problem ?
ufmemo@gmail.com - 25 May 2006 19:52 GMT
looks like you are using the default j2ee project, web project and
server... i'd explicitly create all of them... create a new J2EE
project, then a new Web Project (in the j2ee project you just created)
then create a server and add the project to the server in the server
view (right click the server and add projects).  Publish the server and
then start the server manually...

rgiht click on your jsp and run on server then select the already
configured server (you creaed above) when you get the dialog window
about where you want to run your jsp.

good luck.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.