basirana
asked on
File upload path
Hi
Below program is used for file upload. The "File savedFile = new File(getServletContext().g etRealPath ("/"), fullFile.getName());" lines in the code tell where we can save the file.
Problem is file is getting uploaded to temp folder.
I need to change the line so that file will be uploaded to c:\. Can you please help me to change code.
<%@ page import="org.apache.commons .fileuploa d.*, java.util.List, java.io.File, java.util.Iterator" %>
<%
// first check if the upload request coming in is a multipart request
boolean isMultipart = FileUpload.isMultipartCont ent(reques t);
// if not, send to message page with the error message
if(!isMultipart){
request.setAttribute("msg" , "Request was not multipart!");
request.getRequestDispatch er("msg.js p").forwar d(request, response);
return;
}
// now lets create a handler for the upload request.
DiskFileUpload upload = new DiskFileUpload();
// parse this request by the handler
// this gives us a list of items from the request
List items = upload.parseRequest(reques t);
// now iterate over this list
Iterator itr = items.iterator();
while(itr.hasNext()){
FileItem item = (FileItem) itr.next();
// check if the current item is a form field or an uploaded file
if(item.isFormField()){
// get the name of the field
String fieldName = item.getFieldName();
// if it is name, we can set it in request to thank the user
if(fieldName.equals("name" ))
request.setAttribute("msg" , "Thank You: " + item.getString());
} else {
// the item must be an uploaded file
// save it to disk
File fullFile = new File(item.getName());
File savedFile = new File(getServletContext().g etRealPath ("/"), fullFile.getName());
item.write(savedFile);
}
}
// finally send to the msg page
request.getRequestDispatch er("msg.js p").forwar d(request, response);
%>
Below program is used for file upload. The "File savedFile = new File(getServletContext().g
Problem is file is getting uploaded to temp folder.
I need to change the line so that file will be uploaded to c:\. Can you please help me to change code.
<%@ page import="org.apache.commons
<%
// first check if the upload request coming in is a multipart request
boolean isMultipart = FileUpload.isMultipartCont
// if not, send to message page with the error message
if(!isMultipart){
request.setAttribute("msg"
request.getRequestDispatch
return;
}
// now lets create a handler for the upload request.
DiskFileUpload upload = new DiskFileUpload();
// parse this request by the handler
// this gives us a list of items from the request
List items = upload.parseRequest(reques
// now iterate over this list
Iterator itr = items.iterator();
while(itr.hasNext()){
FileItem item = (FileItem) itr.next();
// check if the current item is a form field or an uploaded file
if(item.isFormField()){
// get the name of the field
String fieldName = item.getFieldName();
// if it is name, we can set it in request to thank the user
if(fieldName.equals("name"
request.setAttribute("msg"
} else {
// the item must be an uploaded file
// save it to disk
File fullFile = new File(item.getName());
File savedFile = new File(getServletContext().g
item.write(savedFile);
}
}
// finally send to the msg page
request.getRequestDispatch
%>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I don't use jboss. Maybe there is a user listening ?
Anyway, let's go back. Does the code you posted first work ? Does it put the file in your web app's root folder ?
Anyway, let's go back. Does the code you posted first work ? Does it put the file in your web app's root folder ?
ASKER
The code I posted works. I have three files but the above code is used for uploading. The bolow 2 codes are 1. is user interface for selecting file in Multipart form. 2. is output page displayed after file gets uploaded.
fileuploaddemo.htm
<!-- saved from url=(0022)http://internet.e-mail -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Upload Test</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body>
<form name="myform" action="fileuploaddemo.jsp " method="post" enctype="multipart/form-da ta">
Specify your name:<br/>
<input type="text" name="name" size="15"/><br/>
Specify your Image:<br/>
<input type="file" name="myimage"><br/>
Specify your File:<br/>
<input type="file" name="myfile"><br/><br/>
<input type="submit" name="Submit" value="Submit your files"/>
</form>
</body>
</html>
msg.jsp
<%
String msg = (String)request.getAttribu te("msg");
if(msg != null)
out.println("<font size=+1>" + msg + "</font><br/>");
%>
Click <a href="fileuploaddemo.htm"> here</a> to go to the upload page.
Please let me know if you need anything more
fileuploaddemo.htm
<!-- saved from url=(0022)http://internet.e-mail -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Upload Test</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body>
<form name="myform" action="fileuploaddemo.jsp
Specify your name:<br/>
<input type="text" name="name" size="15"/><br/>
Specify your Image:<br/>
<input type="file" name="myimage"><br/>
Specify your File:<br/>
<input type="file" name="myfile"><br/><br/>
<input type="submit" name="Submit" value="Submit your files"/>
</form>
</body>
</html>
msg.jsp
<%
String msg = (String)request.getAttribu
if(msg != null)
out.println("<font size=+1>" + msg + "</font><br/>");
%>
Click <a href="fileuploaddemo.htm">
Please let me know if you need anything more
>Click <a href="fileuploaddemo.htm"> here</a> to go to the upload page.
What is the file path to fileuploaddemo.htm ?
What is the file path to fileuploaddemo.htm ?
Please show what these print.
<%=request.getContextPath( )%>
<%=application.getRealPath ("/")%>
<%=request.getContextPath(
<%=application.getRealPath
ASKER
when I try to run in WSAD I am getting below error.
*** Starting the server ***
************ Start Display Current Environment ************
WebSphere Platform 5.1 [BASE 5.1.0 b0344.02] running with process name localhost\localhost\server 1 and process id 1340
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 = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\ base_v51
user.install.root = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\ base_v51
Java Home = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\ base_v51\j ava\jre
ws.ext.dirs = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\ base_v51/j ava/lib;C: \Program Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\ base_v51/c lasses;C:\ Program Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\ base_v51/c lasses;C:\ Program Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\ base_v51/l ib;C:\Prog ram Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\ base_v51/l ib/ext;C:\ Program Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\ base_v51/w eb/help;C: \Program Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\ base_v51/d eploytool/ itp/plugin s/com.ibm. etools.ejb deploy/run time;C:/Pr ogram Files/IBM/WebSphere Studio/Application Developer/v5.1.1/wstools/e clipse/plu gins/com.i bm.etools. webservice _5.1.1/run time/worf. jar
Classpath = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\ base_v51/p roperties; C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\ base_v51/p roperties; C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\ base_v51/l ib/bootstr ap.jar;C:\ Program Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\ base_v51/l ib/j2ee.ja r;C:\Progr am Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\ base_v51/l ib/lmproxy .jar;C:\Pr ogram Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\ base_v51/l ib/urlprot ocols.jar; C:/Program Files/IBM/WebSphere Studio/Application Developer/v5.1.1/wstools/e clipse/plu gins/com.i bm.etools. websphere. tools.comm on_5.1.1/r untime/wte Servers.ja r;C:/Progr am Files/IBM/WebSphere Studio/Application Developer/v5.1.1/wstools/e clipse/plu gins/com.i bm.etools. websphere. tools.comm on_5.1.1/r untime/was ToolsCommo n.jar
Java Library path = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\ base_v51/b in;C:\Prog ram Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\ base_v51/j ava/bin;C: \Program Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\ base_v51/j ava/jre/bi n;C:\Progr am Files\IBM\WebSphere Studio\Application Developer\v5.1.1\eclipse\j re\bin;.;C :\WINNT\sy stem32;C:\ WINNT;c:\P erl\bin;c: \oracle\pr oducts\9.2 .0.1\bin;C :\Program Files\Oracle\jre\1.1.8\bin ;C:\WINNT\ system32;C :\WINNT;C: \WINNT\Sys tem32\Wbem ;C:\WINNT\ system32\n ls;C:\WINN T\system32 \nls\ENGLI SH;C:\Prog ram Files\Novell\ZENworks\;C:\ j2sdk1.4.2 _11\jre\bi n;C:\ant\a nt\bin;C:\ cygwin\bin ;T:.;W:.;Z :.
************* End Display Current Environment *************
[10/19/06 9:43:12:458 EDT] 3d197bdd ManagerAdmin I TRAS0017I: The startup trace state is *=all=disabled.
[10/19/06 9:43:13:833 EDT] 3d197bdd AdminInitiali A ADMN0015I: AdminService initialized
[10/19/06 9:43:15:286 EDT] 3d197bdd Configuration A SECJ0215I: Successfully set JAAS login provider configuration class to com.ibm.ws.security.auth.l ogin.Confi guration.
[10/19/06 9:43:15:380 EDT] 3d197bdd SecurityDM I SECJ0231I: The Security component's FFDC Diagnostic Module com.ibm.ws.security.core.S ecurityDM registered successfully: true.
[10/19/06 9:43:15:723 EDT] 3d197bdd SecurityCompo I SECJ0309I: Java 2 Security is disabled.
[10/19/06 9:43:15:739 EDT] 3d197bdd SecurityCompo I SECJ0212I: WCCM JAAS configuration information successfully pushed to login provider class.
[10/19/06 9:43:15:770 EDT] 3d197bdd SecurityCompo I SECJ0240I: Security service initialization completed successfully
[10/19/06 9:43:15:770 EDT] 3d197bdd JMSRegistrati A MSGS0602I: WebSphere Embedded Messaging Client only has been installed
[10/19/06 9:43:23:676 EDT] 3d197bdd CacheServiceI I DYNA0048I: WebSphere Dynamic Cache initialized successfully.
[10/19/06 9:43:27:286 EDT] 3d197bdd JMXSoapAdapte A ADMC0013I: SOAP connector available at port 8880
[10/19/06 9:43:27:317 EDT] 3d197bdd SecurityCompo I SECJ0243I: Security service started successfully
[10/19/06 9:43:27:317 EDT] 3d197bdd SecurityCompo I SECJ0210I: Security enabled false
[10/19/06 9:43:28:880 EDT] 3d197bdd ApplicationMg A WSVR0200I: Starting application: IBMUTC
[10/19/06 9:43:29:973 EDT] 3d197bdd WebContainer A SRVE0161I: IBM WebSphere Application Server - Web Container. Copyright IBM Corp. 1998-2002
[10/19/06 9:43:30:005 EDT] 3d197bdd WebContainer A SRVE0162I: Servlet Specification Level: 2.3
[10/19/06 9:43:30:020 EDT] 3d197bdd WebContainer A SRVE0163I: Supported JSP Specification Level: 1.2
[10/19/06 9:43:30:411 EDT] 3d197bdd WebContainer A SRVE0169I: Loading Web Module: IBM Universal Test Client.
[10/19/06 9:43:31:005 EDT] 3d197bdd WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: JSP 1.2 Processor: init
[10/19/06 9:43:31:161 EDT] 3d197bdd WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: SimpleFileServlet: init
[10/19/06 9:43:31:302 EDT] 3d197bdd ApplicationMg A WSVR0221I: Application started: IBMUTC
[10/19/06 9:43:31:302 EDT] 3d197bdd ApplicationMg A WSVR0200I: Starting application: fasApp
[10/19/06 9:43:31:333 EDT] 3d197bdd ApplicationMg E WSVR0101W: An error occurred starting, fasApp
[10/19/06 9:43:31:348 EDT] 3d197bdd ApplicationMg A WSVR0217I: Stopping application: fasApp
[10/19/06 9:43:31:458 EDT] 3d197bdd ApplicationMg A WSVR0220I: Application stopped: fasApp
[10/19/06 9:43:31:552 EDT] 3d197bdd ApplicationMg A WSVR0217I: Stopping application: IBMUTC
[10/19/06 9:43:31:645 EDT] 3d197bdd WebContainer A SRVE0170I: Stopping Web Module: IBM Universal Test Client.
[10/19/06 9:43:31:661 EDT] 3d197bdd WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: SimpleFileServlet: destroy
[10/19/06 9:43:31:661 EDT] 3d197bdd WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: JSP 1.2 Processor: destroy
[10/19/06 9:43:31:692 EDT] 3d197bdd ApplicationMg A WSVR0220I: Application stopped: IBMUTC
[10/19/06 9:43:32:036 EDT] 3d197bdd WsServer E WSVR0003E: Server server1 failed to start
com.ibm.ws.exception.Runti meError
at com.ibm.ws.runtime.compone nt.Applica tionMgrImp l.startApp lication(A pplication MgrImpl.ja va:285)
at com.ibm.ws.runtime.compone nt.Applica tionMgrImp l.start(Ap plicationM grImpl.jav a:249)
at com.ibm.ws.runtime.compone nt.Contain erImpl.sta rtComponen ts(Contain erImpl.jav a:536)
at com.ibm.ws.runtime.compone nt.Contain erImpl.sta rt(Contain erImpl.jav a:413)
at com.ibm.ws.runtime.compone nt.Applica tionServer Impl.start (Applicati onServerIm pl.java:12 5)
at com.ibm.ws.runtime.compone nt.Contain erImpl.sta rtComponen ts(Contain erImpl.jav a:536)
at com.ibm.ws.runtime.compone nt.Contain erImpl.sta rt(Contain erImpl.jav a:413)
at com.ibm.ws.runtime.compone nt.ServerI mpl.start( ServerImpl .java:183)
at com.ibm.ws.runtime.WsServe r.start(Ws Server.jav a:128)
at com.ibm.ws.runtime.WsServe r.main(WsS erver.java :225)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Na tiveMethod AccessorIm pl.java:79 )
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Delegati ngMethodAc cessorImpl .java:41)
at java.lang.reflect.Method.i nvoke(Meth od.java:38 6)
at com.ibm.ws.bootstrap.WSLau ncher.main (WSLaunche r.java:94)
at com.ibm.etools.websphere.t ools.runne r.api.Serv erRunnerV5 $1.run(Ser verRunnerV 5.java:97)
Caused by: com.ibm.etools.archive.exc eption.NoM oduleFileE xception: A file does not exist for module element having uri: fasAppApplicationClient.ja r
at com.ibm.etools.commonarchi ve.impl.Mo duleRefImp l.checkTyp e(ModuleRe fImpl.java :715)
at com.ibm.etools.commonarchi ve.impl.Mo duleRefImp l.initModu leFileFrom EAR(Module RefImpl.ja va:270)
at com.ibm.etools.commonarchi ve.impl.Mo duleRefImp l.getModul eFile(Modu leRefImpl. java:247)
at com.ibm.ws.classloader.Cla ssGraph.ad dModule(Cl assGraph.j ava:101)
at com.ibm.ws.classloader.Cla ssLoaderMa nager.init ialize(Cla ssLoaderMa nager.java :126)
at com.ibm.ws.classloader.Cla ssLoaderMa nager.<ini t>(ClassLo aderManage r.java:103 )
at com.ibm.ws.runtime.compone nt.Deploye dApplicati onImpl.sta rt(Deploye dApplicati onImpl.jav a:529)
at com.ibm.ws.runtime.compone nt.Applica tionMgrImp l.startApp lication(A pplication MgrImpl.ja va:271)
... 15 more
---- Begin backtrace for nested exception
com.ibm.etools.archive.exc eption.NoM oduleFileE xception: A file does not exist for module element having uri: fasAppApplicationClient.ja r
at com.ibm.etools.commonarchi ve.impl.Mo duleRefImp l.checkTyp e(ModuleRe fImpl.java :715)
at com.ibm.etools.commonarchi ve.impl.Mo duleRefImp l.initModu leFileFrom EAR(Module RefImpl.ja va:270)
at com.ibm.etools.commonarchi ve.impl.Mo duleRefImp l.getModul eFile(Modu leRefImpl. java:247)
at com.ibm.ws.classloader.Cla ssGraph.ad dModule(Cl assGraph.j ava:101)
at com.ibm.ws.classloader.Cla ssLoaderMa nager.init ialize(Cla ssLoaderMa nager.java :126)
at com.ibm.ws.classloader.Cla ssLoaderMa nager.<ini t>(ClassLo aderManage r.java:103 )
at com.ibm.ws.runtime.compone nt.Deploye dApplicati onImpl.sta rt(Deploye dApplicati onImpl.jav a:529)
at com.ibm.ws.runtime.compone nt.Applica tionMgrImp l.startApp lication(A pplication MgrImpl.ja va:271)
at com.ibm.ws.runtime.compone nt.Applica tionMgrImp l.start(Ap plicationM grImpl.jav a:249)
at com.ibm.ws.runtime.compone nt.Contain erImpl.sta rtComponen ts(Contain erImpl.jav a:536)
at com.ibm.ws.runtime.compone nt.Contain erImpl.sta rt(Contain erImpl.jav a:413)
at com.ibm.ws.runtime.compone nt.Applica tionServer Impl.start (Applicati onServerIm pl.java:12 5)
at com.ibm.ws.runtime.compone nt.Contain erImpl.sta rtComponen ts(Contain erImpl.jav a:536)
at com.ibm.ws.runtime.compone nt.Contain erImpl.sta rt(Contain erImpl.jav a:413)
at com.ibm.ws.runtime.compone nt.ServerI mpl.start( ServerImpl .java:183)
at com.ibm.ws.runtime.WsServe r.start(Ws Server.jav a:128)
at com.ibm.ws.runtime.WsServe r.main(WsS erver.java :225)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Na tiveMethod AccessorIm pl.java:79 )
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Delegati ngMethodAc cessorImpl .java:41)
at java.lang.reflect.Method.i nvoke(Meth od.java:38 6)
at com.ibm.ws.bootstrap.WSLau ncher.main (WSLaunche r.java:94)
at com.ibm.etools.websphere.t ools.runne r.api.Serv erRunnerV5 $1.run(Ser verRunnerV 5.java:97)
[10/19/06 9:43:32:098 EDT] 3d197bdd WsServer E WSVR0009E: Error occurred during startup
*** Starting the server ***
************ Start Display Current Environment ************
WebSphere Platform 5.1 [BASE 5.1.0 b0344.02] running with process name localhost\localhost\server
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 = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\
user.install.root = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\
Java Home = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\
ws.ext.dirs = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\
Classpath = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\
Java Library path = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.1\runtimes\
************* End Display Current Environment *************
[10/19/06 9:43:12:458 EDT] 3d197bdd ManagerAdmin I TRAS0017I: The startup trace state is *=all=disabled.
[10/19/06 9:43:13:833 EDT] 3d197bdd AdminInitiali A ADMN0015I: AdminService initialized
[10/19/06 9:43:15:286 EDT] 3d197bdd Configuration A SECJ0215I: Successfully set JAAS login provider configuration class to com.ibm.ws.security.auth.l
[10/19/06 9:43:15:380 EDT] 3d197bdd SecurityDM I SECJ0231I: The Security component's FFDC Diagnostic Module com.ibm.ws.security.core.S
[10/19/06 9:43:15:723 EDT] 3d197bdd SecurityCompo I SECJ0309I: Java 2 Security is disabled.
[10/19/06 9:43:15:739 EDT] 3d197bdd SecurityCompo I SECJ0212I: WCCM JAAS configuration information successfully pushed to login provider class.
[10/19/06 9:43:15:770 EDT] 3d197bdd SecurityCompo I SECJ0240I: Security service initialization completed successfully
[10/19/06 9:43:15:770 EDT] 3d197bdd JMSRegistrati A MSGS0602I: WebSphere Embedded Messaging Client only has been installed
[10/19/06 9:43:23:676 EDT] 3d197bdd CacheServiceI I DYNA0048I: WebSphere Dynamic Cache initialized successfully.
[10/19/06 9:43:27:286 EDT] 3d197bdd JMXSoapAdapte A ADMC0013I: SOAP connector available at port 8880
[10/19/06 9:43:27:317 EDT] 3d197bdd SecurityCompo I SECJ0243I: Security service started successfully
[10/19/06 9:43:27:317 EDT] 3d197bdd SecurityCompo I SECJ0210I: Security enabled false
[10/19/06 9:43:28:880 EDT] 3d197bdd ApplicationMg A WSVR0200I: Starting application: IBMUTC
[10/19/06 9:43:29:973 EDT] 3d197bdd WebContainer A SRVE0161I: IBM WebSphere Application Server - Web Container. Copyright IBM Corp. 1998-2002
[10/19/06 9:43:30:005 EDT] 3d197bdd WebContainer A SRVE0162I: Servlet Specification Level: 2.3
[10/19/06 9:43:30:020 EDT] 3d197bdd WebContainer A SRVE0163I: Supported JSP Specification Level: 1.2
[10/19/06 9:43:30:411 EDT] 3d197bdd WebContainer A SRVE0169I: Loading Web Module: IBM Universal Test Client.
[10/19/06 9:43:31:005 EDT] 3d197bdd WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: JSP 1.2 Processor: init
[10/19/06 9:43:31:161 EDT] 3d197bdd WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: SimpleFileServlet: init
[10/19/06 9:43:31:302 EDT] 3d197bdd ApplicationMg A WSVR0221I: Application started: IBMUTC
[10/19/06 9:43:31:302 EDT] 3d197bdd ApplicationMg A WSVR0200I: Starting application: fasApp
[10/19/06 9:43:31:333 EDT] 3d197bdd ApplicationMg E WSVR0101W: An error occurred starting, fasApp
[10/19/06 9:43:31:348 EDT] 3d197bdd ApplicationMg A WSVR0217I: Stopping application: fasApp
[10/19/06 9:43:31:458 EDT] 3d197bdd ApplicationMg A WSVR0220I: Application stopped: fasApp
[10/19/06 9:43:31:552 EDT] 3d197bdd ApplicationMg A WSVR0217I: Stopping application: IBMUTC
[10/19/06 9:43:31:645 EDT] 3d197bdd WebContainer A SRVE0170I: Stopping Web Module: IBM Universal Test Client.
[10/19/06 9:43:31:661 EDT] 3d197bdd WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: SimpleFileServlet: destroy
[10/19/06 9:43:31:661 EDT] 3d197bdd WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: JSP 1.2 Processor: destroy
[10/19/06 9:43:31:692 EDT] 3d197bdd ApplicationMg A WSVR0220I: Application stopped: IBMUTC
[10/19/06 9:43:32:036 EDT] 3d197bdd WsServer E WSVR0003E: Server server1 failed to start
com.ibm.ws.exception.Runti
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.WsServe
at com.ibm.ws.runtime.WsServe
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at com.ibm.ws.bootstrap.WSLau
at com.ibm.etools.websphere.t
Caused by: com.ibm.etools.archive.exc
at com.ibm.etools.commonarchi
at com.ibm.etools.commonarchi
at com.ibm.etools.commonarchi
at com.ibm.ws.classloader.Cla
at com.ibm.ws.classloader.Cla
at com.ibm.ws.classloader.Cla
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.compone
... 15 more
---- Begin backtrace for nested exception
com.ibm.etools.archive.exc
at com.ibm.etools.commonarchi
at com.ibm.etools.commonarchi
at com.ibm.etools.commonarchi
at com.ibm.ws.classloader.Cla
at com.ibm.ws.classloader.Cla
at com.ibm.ws.classloader.Cla
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.WsServe
at com.ibm.ws.runtime.WsServe
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at com.ibm.ws.bootstrap.WSLau
at com.ibm.etools.websphere.t
[10/19/06 9:43:32:098 EDT] 3d197bdd WsServer E WSVR0009E: Error occurred during startup
Sorry, I don't use WSAD. I can't help you with that.
ASKER
type Status report
message C:\jboss-4.0.4.GA\server\d
description The requested resource (C:\jboss-4.0.4.GA\server\
Any idea whats wrong. Please let me know if you need other files used in file uploading.