[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-dev
Subject:    Axis in Oracle
From:       "Gu, Gary" <Gary.Gu () starwoodhotels ! com>
Date:       2006-02-28 21:58:21
Message-ID: 2CE45C93C7832D40B410A9F4B99E6AAC028324 () stcexcpmb05 ! corp ! star
[Download RAW message or body]

Hi there,

 

I tried to run my web service client with Axis inside Oracle database
(through Oracle "Java Stored Procedure").

 

I have loaded Axis.jar file and other jar files that came with the Axi=
s
package download into Oracle. Before loading them, seems I had to load=

j2ee.jar first.

 

However, when I run the code, I got following exception:

 

java.lang.NoClassDefFoundError

            at

org.apache.axis.client.Service.getAxisClient(Service.java:104)

at

org.apache.axis.client.Service.<init>(Service.java:113)

            at

com.starwood.My_ServiceLocator.<init>(Unknown Source)

            at

MySoapOracle.process(MySoapOracle.java:29)

 

 

PL/SQL procedure successfully completed.

 

 

Is anyone there who can tell which class is missing? I am exhausted on=

this.

 

AxisClient class is loaded in the Oracle with valid status. I don't kn=
ow
what else getAxisClient tries to load (checked source code but still d=
id
not get idea)

 

 

Thanks

 

Gary Gu

 

This electronic message transmission contains information from the Com=
pany that may be proprietary, confidential and/or privileged.
The information is intended only for the use of the individual(s) or e=
ntity named above.  If you are not the intended recipient, be
aware that any disclosure, copying or distribution or use of the conte=
nts of this information is prohibited.  If you have received
this electronic transmission in error, please notify the sender immedi=
ately by replying to the address listed in the "From:" field.


[Attachment #3 (text/html)]

<html>

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi there,</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I tried to run my web service client with Axis inside Oracle
database (through Oracle &#8220;Java Stored Procedure&#8221;).</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I have loaded Axis.jar file and other jar files that came
with the Axis package download into Oracle. Before loading them, seems I had to
load j2ee.jar first.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>However, when I run the code, I got following \
exception:</span></font></p>

<p class=MsoNormal><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'>&nbsp;</span></font></b></p>

<p class=MsoNormal style='text-indent:.5in'><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial;font-weight:bold'>java.lang.NoClassDefFoundError</span></font></b></p>


<p class=MsoNormal><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; at</span></font></b></p>

<p class=MsoNormal style='text-indent:.5in'><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial;font-weight:bold'>org.apache.axis.client.Service.getAxisClient(Service.java:104)</span></font></b></p>


<p class=MsoNormal style='text-indent:.5in'><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial;font-weight:bold'>at</span></font></b></p>

<p class=MsoNormal style='text-indent:.5in'><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial;font-weight:bold'>org.apache.axis.client.Service.&lt;init&gt;(Service.java:113)</span></font></b></p>


<p class=MsoNormal><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'>&nbsp;&nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at</span></font></b></p>

<p class=MsoNormal style='text-indent:.5in'><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial;font-weight:bold'>com.starwood.My_ServiceLocator.&lt;init&gt;(Unknown
 Source)</span></font></b></p>

<p class=MsoNormal><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 at</span></font></b></p>

<p class=MsoNormal style='text-indent:.5in'><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial;font-weight:bold'>MySoapOracle.process(MySoapOracle.java:29)</span></font></b></p>


<p class=MsoNormal><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'>&nbsp;</span></font></b></p>

<p class=MsoNormal><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'>&nbsp;</span></font></b></p>

<p class=MsoNormal style='text-indent:.5in'><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial;font-weight:bold'>PL/SQL procedure
successfully completed.</span></font></b></p>

<p class=MsoNormal style='text-indent:.5in'><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial;font-weight:bold'>&nbsp;</span></font></b></p>


<p class=MsoNormal style='text-indent:.5in'><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial;font-weight:bold'>&nbsp;</span></font></b></p>


<p class=MsoNormal style='text-indent:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Is anyone there who can tell which
class is missing? I am exhausted on this.</span></font></p>

<p class=MsoNormal style='text-indent:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal style='text-indent:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>AxisClient class is loaded in the
Oracle with valid status. I don&#8217;t know what else getAxisClient tries to
load (checked source code but still did not get idea)</span></font></p>

<p class=MsoNormal style='text-indent:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal style='text-indent:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal style='text-indent:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Thanks</span></font></p>

<p class=MsoNormal style='text-indent:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal style='text-indent:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Gary Gu</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

</div>

<PRE>
This electronic message transmission contains information from the Company that may \
be proprietary, confidential and/or privileged. The information is intended only for \
the use of the individual(s) or entity named above.  If you are not the intended \
recipient, be aware that any disclosure, copying or distribution or use of the \
contents of this information is prohibited.  If you have received this electronic \
transmission in error, please notify the sender immediately by replying to the \
address listed in the "From:" field. </PRE>
</body>

</html>




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic