axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "herve attia" <herve_at...@hotmail.com>
Subject Axis/BEA WL 6.1 Can we indicate new location for the server-config.wsdd?
Date Tue, 26 Feb 2002 15:42:22 GMT
<html><div style='background-color:'><DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<P>&nbsp;</P>
<P>Hello Glyn,</P>
<P>I didn't find any system property "axis.ServerConfigFile" within the Axis documentation.</P>
<P>Is there a way to indicate a new location for the <STRONG>server-config.wsdd
?</STRONG></P>
<P>I put the&nbsp;&nbsp;server-config.wsdd file in BEA WL directory....but it
is always expected something like <STRONG>null\server-config.wsdd </STRONG></P>
<P>thanks</P>
<DIV>&gt;From: "Glyn Normington" <GLYN_NORMINGTON@UK.IBM.COM></DIV>
<DIV></DIV>&gt;Reply-To: axis-user@xml.apache.org 
<DIV></DIV>&gt;To: axis-user@xml.apache.org 
<DIV></DIV>&gt;Subject: Re: Axis/BEA WL 6.1 java.io.FileNotFoundException:
null\server-config.wsdd 
<DIV></DIV>&gt;Date: Tue, 26 Feb 2002 09:05:42 +0000 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;If you are picking up a default server configuration file,
then it 
<DIV></DIV>&gt;server-config.wsdd in the current directory unless you set
the JVM system 
<DIV></DIV>&gt;property axis.ServerConfigFile to point at a file somewhere
else. If you 
<DIV></DIV>&gt;haven't set this system property, I would guess that the current
directory 
<DIV></DIV>&gt;in your environment is somehow getting set to "null\". You
could try 
<DIV></DIV>&gt;putting the file in the current directory (wherever that is
for Weblogic) 
<DIV></DIV>&gt;or setting the system property. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Glyn 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; "herve attia" 
<DIV></DIV>&gt; <HERVE_ATTIA@HO DIV < axis-user@xml.apache.org To:>&gt;
tmail.com&gt; cc: 
<DIV></DIV>&gt; Subject: Axis/BEA WL 6.1 java.io.FileNotFoundException: 
<DIV></DIV>&gt; 23/02/02 18:03 null\server-config.wsdd 
<DIV></DIV>&gt; Please respond 
<DIV></DIV>&gt; to axis-user 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Hello, 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;I tried to run some Axis sample with BEA WL 6.1 : 
<DIV></DIV>&gt;samples\userguide\example2\Calculator 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;I wrote a deploy.xml file 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;<?xml:namespace prefix = m /><m:deploy xmlns:m="AdminService">

<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;<SERVICE name="Calculator" pivot="RPCDispatcher"> 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;<OPTION name="className" value="samples.userguide.example2.Calculator"
/> 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;<OPTION name="methodName" value="add" /> 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;</SERVICE> 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;</m:deploy> 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;but when I use the AdminClient as following : 
<DIV></DIV>&gt;$java org.apache.axis.client.AdminClient -p7001 deploy.xml

<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;it displays : 
<DIV></DIV>&gt;Processing file deploy_calc.xml 
<DIV></DIV>&gt;<ADMIN>Done processing</ADMIN> 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;but the BEA WL console complains about server-config.wsdd :

<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;I'm aware this file is located within the axis.jar. So I extracted
to the 
<DIV></DIV>&gt;AXIS_HOME directory. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;I also configured BEA by following 
<DIV></DIV>&gt;http://xml.apache.org/soap/faq/faq-for-WL6.1beta.html 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;any clues ? 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Could not write engine config! 
<DIV></DIV>&gt;java.io.FileNotFoundException: null\server-config.wsdd (The
system cannot 
<DIV></DIV>&gt;find t 
<DIV></DIV>&gt;he path specified) 
<DIV></DIV>&gt; at java.io.FileOutputStream.open(Native Method) 
<DIV></DIV>&gt; at java.io.FileOutputStream.<INIT>(FileOutputStream.java:102)

<DIV></DIV>&gt; at java.io.FileOutputStream.<INIT>(FileOutputStream.java:62)

<DIV></DIV>&gt; at 
<DIV></DIV>&gt;org.apache.axis.configuration.FileProvider.writeEngineConfig(FileProv

<DIV></DIV>&gt;ider.java:146) 
<DIV></DIV>&gt; at 
<DIV></DIV>&gt;org.apache.axis.AxisEngine.saveConfiguration(AxisEngine.java:195)

<DIV></DIV>&gt; at org.apache.axis.utils.Admin.process(Admin.java:488) 
<DIV></DIV>&gt; at org.apache.axis.utils.Admin.AdminService(Admin.java:178)

<DIV></DIV>&gt; at java.lang.reflect.Meth! od.invoke(Native Method) 
<DIV></DIV>&gt; at 
<DIV></DIV>&gt;org.apache.axis.providers.java.MsgProvider.processMessage(MsgProvider

<DIV></DIV>&gt;.java:179) 
<DIV></DIV>&gt; at 
<DIV></DIV>&gt;org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:

<DIV></DIV>&gt;242) 
<DIV></DIV>&gt; at 
<DIV></DIV>&gt;org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:253

<DIV></DIV>&gt;) 
<DIV></DIV>&gt; at org.apache.axis.server.AxisServer.invoke(AxisServer.java:288)

<DIV></DIV>&gt; at 
<DIV></DIV>&gt;org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:48

<DIV></DIV>&gt;5) 
<DIV></DIV>&gt; at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

<DIV></DIV>&gt; at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

<DIV></DIV>&gt; at 
<DIV></DIV>&gt;weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm

<DIV></DIV>&gt;pl.j! ava:265) 
<DIV></DIV>&gt; at 
<DIV></DIV>&gt;weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm

<DIV></DIV>&gt;pl.java:200) 
<DIV></DIV>&gt; at 
<DIV></DIV>&gt;weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe

<DIV></DIV>&gt;rvletContext.java:2495) 
<DIV></DIV>&gt; at 
<DIV></DIV>&gt;weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm

<DIV></DIV>&gt;pl.java:2204) 
<DIV></DIV>&gt; at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)

<DIV></DIV>&gt; at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;********************************* 
<DIV></DIV>&gt;Herve Attia 
<DIV></DIV>&gt;Cell (650) 922-1973 
<DIV></DIV>&gt;Home (650) 992-3997 
<DIV></DIV>&gt;http://www.chez.com/attia/resume/ 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;MSN Photos is the easiest way to share and print your photos:
Click Here 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV></div><br clear=all><hr>Send and receive Hotmail
on your mobile device: <a href='http://go.msn.com/bql/hmtag2_etl_EN.asp'>Click Here</a><br></html>

Mime
View raw message