RE: how to tell if axis 1.4 is using http persistent connections or not?

2007-08-03 Thread Anil Philip
Does anyone know?

-Original Message-
From: Anil Philip [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 02, 2007 12:08 PM
To: axis
Subject: how to tell if axis 1.4 is using http persistent connections or
not?

Hello,
how to tell if axis 1.4 is using http persistent
connections or not? And how to configure it.
thanks much,
Anil


   


Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



how to tell if axis 1.4 is using http persistent connections or not?

2007-08-02 Thread Anil Philip
Hello,
how to tell if axis 1.4 is using http persistent
connections or not? And how to configure it.
thanks much,
Anil


   

Moody friends. Drama queens. Your life? Nope! - their life, your story. Play 
Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



basic qs. axis and closing connections

2007-08-01 Thread Anil Philip
Hello,
Can anyone confirm - an axis client does not need to
close its connection to the server after a call?
thanks,
Anil


   

Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more. 
http://mobile.yahoo.com/go?refer=1GNXIC

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: InvocationTargetException when calling service. Axis 1.2

2007-06-13 Thread Anil Philip
I am listing my solution here in case any one runs into the same
problem. Gurus: was there a recommended way to do this?

 

Cause:

I defined classes to contain data 'structs'. For example: Order.

These were being returned from server to client.

I generated the wsdl and then from the wsdl, created the stubs and
skeletons. However the class Order that was now created, had axis helper
methods. The other Order class, did not. Probably during reflection
invocation, the server got confused about which Order to use and threw
the exception.

So I had to delete the old Order, and use the new generated one in its
place.

 

Has anyone seen this before? Was this the recommended way to handle it?

 

Thanks,

Anil

 



From: Anil Philip [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 11, 2007 3:44 PM
To: axis-user@ws.apache.org
Subject: InvocationTargetException when calling service. Axis 1.2

 

Hi,

(Axis 1.2, Java 1.5.09)

I am passing in an object containing data, as a parameter in my call:

 

 for example 

 MyService service = new MyServiceLocator();

 Foo port = service.getFoo();

 Order no = new Order();

 no.setQuantity(2); 

 port.buy(no);

 

However, I am getting InvocationTargetException

 

Does anyone know why?

 

-

thanks,

Anil Philip

 

init:

deps-jar:

Compiling 1 source file to
C:\Source\Everest\Nepal\WSClients\build\classes

compile:

Exception in thread main AxisFault

 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException

 faultSubcode: 

 faultString: java.lang.reflect.InvocationTargetException

 faultActor: 

 faultNode: 

 faultDetail:


{http://xml.apache.org/axis/}hostname:KTELEWEB01

 

java.lang.reflect.InvocationTargetException

at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.ja
va:222)

at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.jav
a:129)

at
org.apache.axis.encoding.DeserializationContext.endElement(Deserializati
onContext.java:1087)

at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(
AbstractSAXParser.java:633)

at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEnd
Element(XMLNSDocumentScannerImpl.java:719)

at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$F
ragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:16
85)

at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.s
canDocument(XMLDocumentFragmentScannerImpl.java:368)

at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
1Configuration.java:834)

at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
1Configuration.java:764)

at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.jav
a:148)

at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abstr
actSAXParser.java:1242)

at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)

at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationCon
text.java:227)

at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)

at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)

at
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstan
dChecker.java:62)

at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)

at org.apache.axis.client.Call.invokeEngine(Call.java:2784)

at org.apache.axis.client.Call.invoke(Call.java:2767)

at org.apache.axis.client.Call.invoke(Call.java:2443)

at org.apache.axis.client.Call.invoke(Call.java:2366)

at org.apache.axis.client.Call.invoke(Call.java:1812)

 



RE: 401 error - where to enter userid, password when calling a client stub from Java?

2007-06-11 Thread Anil Philip

Thanks for replying! (I read the post on your blog on XML Namespaces)
The link you provides says:
 Axis does not yet implement these, but we do support XML signatures
via a sister project. 

Specifically, I am looking for a call to set the cachedUsername,
cachedPassword

From my generated stubs:

protected org.apache.axis.client.Call createCall() throws
java.rmi.RemoteException {
try {
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
}
if (super.cachedUsername != null) {
_call.setUsername(super.cachedUsername);
}
if (super.cachedPassword != null) {
_call.setPassword(super.cachedPassword);
}



How is super.cachedPassword and super.cachedUsername set?

Thanks,
Anil




-Original Message-
From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] 
Sent: Saturday, June 09, 2007 11:33 AM
To: axis-user@ws.apache.org
Subject: Re: 401 error - where to enter userid, password when calling a
client stub from Java?

See http://ws.apache.org/axis/java/security.html.
Axis relies on HTTPClient
(http://jakarta.apache.org/commons/httpclient/).

Anne

On 6/8/07, Anil Philip [EMAIL PROTECTED] wrote:






 I am trying to call a service, and get the following 401 error. The
stubs
 are generated using Axis 1.4 WSDL2Java.

 How do I pass in userid-password?



 -

 thanks,

 Anil





 faultDetail:

 {}:return code:  401

 lt;htmlgt;lt;headgt;lt;titlegt;Apache Tomcat/5.5.20 -
 Error reportlt;/titlegt;lt;stylegt;lt;!--H1

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D7
6;font-size:22px;}
 H2

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D7
6;font-size:16px;}
 H3

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D7
6;font-size:14px;}
 BODY

{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;
}
 B

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D7
6;}
 P

{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-s
ize:12px;}A
 {color : black;}A.name {color : black;}HR {color :
 #525D76;}--gt;lt;/stylegt;
 lt;/headgt;lt;bodygt;lt;h1gt;HTTP Status 401 -
 lt;/h1gt;lt;HR size=quot;1quot;
 noshade=quot;noshadequot;gt;lt;pgt;lt;bgt;typelt;/bgt;
 Status reportlt;/pgt;lt;pgt;lt;bgt;messagelt;/bgt;
 lt;ugt;lt;/ugt;lt;/pgt;lt;pgt;lt;bgt;descriptionlt;/bgt;
 lt;ugt;This request requires HTTP authentication
 ().lt;/ugt;lt;/pgt;lt;HR size=quot;1quot;
 noshade=quot;noshadequot;gt;lt;h3gt;Apache
 Tomcat/5.5.20lt;/h3gt;lt;/bodygt;lt;/htmlgt;

 {http://xml.apache.org/axis/}HttpErrorCode:401



 (401)Unauthorized

 at org.apache.axis



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: 401 error - where to enter userid, password when calling a client stub from Java?

2007-06-11 Thread Anil Philip
I got it after reading the Stub javadocs.
You have to cast it
   ((org.apache.axis.client.Stub) port).setUsername(foo);
((org.apache.axis.client.Stub) port).setPassword(bar);

Thanks,
Anil
-Original Message-
From: Anil Philip [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 11, 2007 2:14 PM
To: axis-user@ws.apache.org
Cc: [EMAIL PROTECTED]
Subject: RE: 401 error - where to enter userid, password when calling a
client stub from Java?


Thanks for replying! (I read the post on your blog on XML Namespaces)
The link you provides says:
 Axis does not yet implement these, but we do support XML signatures
via a sister project. 

Specifically, I am looking for a call to set the cachedUsername,
cachedPassword

From my generated stubs:

protected org.apache.axis.client.Call createCall() throws
java.rmi.RemoteException {
try {
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
}
if (super.cachedUsername != null) {
_call.setUsername(super.cachedUsername);
}
if (super.cachedPassword != null) {
_call.setPassword(super.cachedPassword);
}



How is super.cachedPassword and super.cachedUsername set?

Thanks,
Anil




-Original Message-
From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] 
Sent: Saturday, June 09, 2007 11:33 AM
To: axis-user@ws.apache.org
Subject: Re: 401 error - where to enter userid, password when calling a
client stub from Java?

See http://ws.apache.org/axis/java/security.html.
Axis relies on HTTPClient
(http://jakarta.apache.org/commons/httpclient/).

Anne

On 6/8/07, Anil Philip [EMAIL PROTECTED] wrote:






 I am trying to call a service, and get the following 401 error. The
stubs
 are generated using Axis 1.4 WSDL2Java.

 How do I pass in userid-password?



 -

 thanks,

 Anil





 faultDetail:

 {}:return code:  401

 lt;htmlgt;lt;headgt;lt;titlegt;Apache Tomcat/5.5.20 -
 Error reportlt;/titlegt;lt;stylegt;lt;!--H1

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D7
6;font-size:22px;}
 H2

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D7
6;font-size:16px;}
 H3

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D7
6;font-size:14px;}
 BODY

{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;
}
 B

{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D7
6;}
 P

{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-s
ize:12px;}A
 {color : black;}A.name {color : black;}HR {color :
 #525D76;}--gt;lt;/stylegt;
 lt;/headgt;lt;bodygt;lt;h1gt;HTTP Status 401 -
 lt;/h1gt;lt;HR size=quot;1quot;
 noshade=quot;noshadequot;gt;lt;pgt;lt;bgt;typelt;/bgt;
 Status reportlt;/pgt;lt;pgt;lt;bgt;messagelt;/bgt;
 lt;ugt;lt;/ugt;lt;/pgt;lt;pgt;lt;bgt;descriptionlt;/bgt;
 lt;ugt;This request requires HTTP authentication
 ().lt;/ugt;lt;/pgt;lt;HR size=quot;1quot;
 noshade=quot;noshadequot;gt;lt;h3gt;Apache
 Tomcat/5.5.20lt;/h3gt;lt;/bodygt;lt;/htmlgt;

 {http://xml.apache.org/axis/}HttpErrorCode:401



 (401)Unauthorized

 at org.apache.axis



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



InvocationTargetException when calling service. Axis 1.2

2007-06-11 Thread Anil Philip
Hi,

(Axis 1.2, Java 1.5.09)

I am passing in an object containing data, as a parameter in my call:

 

 for example 

 MyService service = new MyServiceLocator();

 Foo port = service.getFoo();

 Order no = new Order();

 no.setQuantity(2); 

 port.buy(no);

 

However, I am getting InvocationTargetException

 

Does anyone know why?

 

-

thanks,

Anil Philip

 

init:

deps-jar:

Compiling 1 source file to
C:\Source\Everest\Nepal\WSClients\build\classes

compile:

Exception in thread main AxisFault

 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException

 faultSubcode: 

 faultString: java.lang.reflect.InvocationTargetException

 faultActor: 

 faultNode: 

 faultDetail:


{http://xml.apache.org/axis/}hostname:KTELEWEB01

 

java.lang.reflect.InvocationTargetException

at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.ja
va:222)

at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.jav
a:129)

at
org.apache.axis.encoding.DeserializationContext.endElement(Deserializati
onContext.java:1087)

at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(
AbstractSAXParser.java:633)

at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEnd
Element(XMLNSDocumentScannerImpl.java:719)

at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$F
ragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:16
85)

at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.s
canDocument(XMLDocumentFragmentScannerImpl.java:368)

at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
1Configuration.java:834)

at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
1Configuration.java:764)

at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.jav
a:148)

at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abstr
actSAXParser.java:1242)

at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)

at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationCon
text.java:227)

at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)

at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)

at
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstan
dChecker.java:62)

at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)

at org.apache.axis.client.Call.invokeEngine(Call.java:2784)

at org.apache.axis.client.Call.invoke(Call.java:2767)

at org.apache.axis.client.Call.invoke(Call.java:2443)

at org.apache.axis.client.Call.invoke(Call.java:2366)

at org.apache.axis.client.Call.invoke(Call.java:1812)

 



401 error - where to enter userid, password when calling a client stub from Java?

2007-06-08 Thread Anil Philip
 

I am trying to call a service, and get the following 401 error. The
stubs are generated using Axis 1.4 WSDL2Java.

How do I pass in userid-password?

 

-

thanks,

Anil

 

 

faultDetail: 

{}:return code:  401

lt;htmlgt;lt;headgt;lt;titlegt;Apache Tomcat/5.5.20 - Error
reportlt;/titlegt;lt;stylegt;lt;!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D7
6;font-size:22px;} H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D7
6;font-size:16px;} H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D7
6;font-size:14px;} BODY
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;
} B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D7
6;} P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-s
ize:12px;}A {color : black;}A.name {color : black;}HR {color :
#525D76;}--gt;lt;/stylegt; lt;/headgt;lt;bodygt;lt;h1gt;HTTP
Status 401 - lt;/h1gt;lt;HR size=quot;1quot;
noshade=quot;noshadequot;gt;lt;pgt;lt;bgt;typelt;/bgt; Status
reportlt;/pgt;lt;pgt;lt;bgt;messagelt;/bgt;
lt;ugt;lt;/ugt;lt;/pgt;lt;pgt;lt;bgt;descriptionlt;/bgt;
lt;ugt;This request requires HTTP authentication
().lt;/ugt;lt;/pgt;lt;HR size=quot;1quot;
noshade=quot;noshadequot;gt;lt;h3gt;Apache
Tomcat/5.5.20lt;/h3gt;lt;/bodygt;lt;/htmlgt;

{http://xml.apache.org/axis/}HttpErrorCode:401

 

(401)Unauthorized

at org.apache.axis

 



how to set array of String as parameter and return type at the client?

2007-01-25 Thread Anil Philip
Hello,
Can anyone please point me to a sample or example that
shows how to write a test client for axis where the
method takes in String[] or returns String[]?

Specifically, for input params String[],
How would I code the call below?

call.addParameter( params, XMLType.XSD_STRING,
ParameterMode.IN );  

thanks,
Anil

for good news go to http://members.tripod.com/~goodnewsforyou/goodnews.html


 

Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: help. newbie error. cannot deploy

2007-01-23 Thread Anil Philip
Thank you, Yura and Luis.
Dropping the log4j.properties into
Tomcat5.5.../WEB-INF/classes enabled me to see the
real error: bad class version. that was easy to fix -
recompile with the correct source level set.
thanks,
Anil

--- Luis Rivera [EMAIL PROTECTED] wrote:

 
 
 Yep, that's what he said and that also works for me
 :)
 
--Luis R.
 
 From: Anil Philip [EMAIL PROTECTED]
 Reply-To: axis-user@ws.apache.org
 To: axis-user@ws.apache.org
 Subject: Re: help. newbie error. cannot deploy
 Date: Fri, 19 Jan 2007 10:37:30 -0800 (PST)
 
 Are you saying I should put the log.properties in
 C:\Program Files\Apache Software Foundation\Tomcat
 5.5\webapps\axis\WEB-INF\classes
 then bounce the Tomcat server?
 No editing changes to C:\Program Files\Apache
 Software
 Foundation\Tomcat 5.5\conf\logging.properties?
 thanks,
 Anil
 
 --- Yura Tkachenko [EMAIL PROTECTED]
 wrote:
 
   Hi,
   1) it's depend how you configurate filtering by
   packages - you can turn to
   use tomcat log or direct it to axis.log file for
   e.g.
   2) you should put log4j.properties in the
   WEB-INF\classes folder.
  
  
   2007/1/19, Anil Philip
 [EMAIL PROTECTED]:
   
Thank you for replying.
Sorry, but it is not clear about:
1) Will the error be in the axis log files, or
 in
   the
Tomcat log files?
2) How do I turn on logging for axis. ie.
 where
   should
I put the log properties file and will it be
automatically picked up?
   
thanks,
Anil
   
--- Yura Tkachenko [EMAIL PROTECTED]
   wrote:
   
 Hi,
 try to specify DEBUG, because even with INFO
 you
   can
 see nothing. You need
 to have log4j.properties file for Tomcat.
 Here
   is
 example of
 log4j.properties:

 # Set root category priority to INFO and its
   only
 appender to CONSOLE.
 log4j.rootCategory=INFO, CONSOLE
 #log4j.rootCategory=INFO, CONSOLE, LOGFILE

 # Set the enterprise logger category to
 FATAL
   and
 its only appender to
 CONSOLE.

 log4j.logger.org.apache.axis.enterprise=FATAL,
 CONSOLE

 # CONSOLE is set to be a ConsoleAppender
 using a
 PatternLayout.

   
  

log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
 log4j.appender.CONSOLE.Threshold=INFO

   
  

log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout

  
 log4j.appender.CONSOLE.layout.ConversionPattern=-
 %m%n

 # LOGFILE is set to be a File appender using
 a
 PatternLayout.

  
 log4j.appender.LOGFILE=org.apache.log4j.FileAppender
 log4j.appender.LOGFILE.File=axis.log
 log4j.appender.LOGFILE.Append=true
 log4j.appender.LOGFILE.Threshold=INFO

   
  

log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout

  
 log4j.appender.LOGFILE.layout.ConversionPattern=%-4r
 [%t] %-5p %c %x - %m%n

 Modify it if you need.
 2007/1/19, Anil Philip
   [EMAIL PROTECTED]:
 
  Thank you for replying.
  I do not see anything in the server logs.
 
  I looked at the admin, manager and
 catalina
   logs.
  Are there others, or should the logging
 granularity be
  set to Info - but I dont know where to set
 it.
 
  We are using Tomcat 5.5
 
  Any help appreciated.
  thanks,
  Anil
 
  --- Luis Rivera [EMAIL PROTECTED]
 wrote:
 
  
   Anil,
  
   I do not know what is the exact problem,
 but
   I
 have
   seen the same exception
   many times. The server is mapping the
   original
   exception to
   InvocationTargetException. Therefore,
 I
   would
   recommend looking into the
   server logs to know the original
 Exception
   and
   proceed accordingly.
  
  Hope that helps,
   --Luis R.
  
   From: Anil Philip
   [EMAIL PROTECTED]
   Reply-To: axis-user@ws.apache.org
   To: axis-user@ws.apache.org
   Subject: help. newbie error. cannot
 deploy
   Date: Thu, 18 Jan 2007 15:02:54 -0800
 (PST)
   
   Hello,
   
   I am an Axis newbie. Trying to deploy.
   
   I receive an error. Nothing in the logs
 to
   show
   more
   detail:
   
   
   
   C:\Everest\WebDeployjava -classpath
   C:\Everest\WebDeploy\axis\axis.jar;
   
  
 

   
  
 

C:\Everest\WebDeploy\axis\axis-ant.jar;C:\Everest\WebDeploy\axis\commons-
  discovery-0.2.jar;
   
  
 

  
 C:\Everest\WebDeploy\axis\commons-logging-1.0.4.jar
  ;C:\Everest\WebDeploy\axis\jaxrpc.jar;
   
  
 
 C:\Everest\WebDeploy\axis\log4j-1.2.14.jar
  ;C:\Everest\WebDeploy\axis\saaj.jar;
   
  
 
 C:\Everest\WebDeploy\axis\wsdl4j-1.5.1.jar
  ;C:\Everest\WebDeploy\axis\activation.jar;
   
   C:\Everest\WebDeploy\axis\mail.jar;
   org.apache.axis.client.AdminClient
   C:\Everest\WebDeploy\deploy.wsdd
   
   Processing file
 C:\Everest\WebDeploy\deploy.wsdd

RE: help. newbie error. cannot deploy

2007-01-19 Thread Anil Philip
Thank you for replying.
I do not see anything in the server logs.

I looked at the admin, manager and catalina logs.
Are there others, or should the logging granularity be
set to Info - but I dont know where to set it.

We are using Tomcat 5.5

Any help appreciated.
thanks,
Anil

--- Luis Rivera [EMAIL PROTECTED] wrote:

 
 Anil,
 
 I do not know what is the exact problem, but I have
 seen the same exception 
 many times. The server is mapping the original
 exception to 
 InvocationTargetException. Therefore, I would
 recommend looking into the 
 server logs to know the original Exception and
 proceed accordingly.
 
Hope that helps,
 --Luis R.
 
 From: Anil Philip [EMAIL PROTECTED]
 Reply-To: axis-user@ws.apache.org
 To: axis-user@ws.apache.org
 Subject: help. newbie error. cannot deploy
 Date: Thu, 18 Jan 2007 15:02:54 -0800 (PST)
 
 Hello,
 
 I am an Axis newbie. Trying to deploy.
 
 I receive an error. Nothing in the logs to show
 more
 detail:
 
 
 
 C:\Everest\WebDeployjava -classpath
 C:\Everest\WebDeploy\axis\axis.jar;
 

C:\Everest\WebDeploy\axis\axis-ant.jar;C:\Everest\WebDeploy\axis\commons-discovery-0.2.jar;
 

C:\Everest\WebDeploy\axis\commons-logging-1.0.4.jar;C:\Everest\WebDeploy\axis\jaxrpc.jar;
 

C:\Everest\WebDeploy\axis\log4j-1.2.14.jar;C:\Everest\WebDeploy\axis\saaj.jar;
 

C:\Everest\WebDeploy\axis\wsdl4j-1.5.1.jar;C:\Everest\WebDeploy\axis\activation.jar;
 
 C:\Everest\WebDeploy\axis\mail.jar;
 org.apache.axis.client.AdminClient
 C:\Everest\WebDeploy\deploy.wsdd
 
 Processing file C:\Everest\WebDeploy\deploy.wsdd
 
 Exception: AxisFault
 
   faultCode:

{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 
   faultSubcode:
 
   faultString:
 java.lang.reflect.InvocationTargetException
 
   faultActor:
 
   faultNode:
 
   faultDetail:
 
 
 {http://xml.apache.org/axis/}hostname:ITDMWEB01
 
 
 
 
 
 Any help appreciated.
 
 Thanks,
 
 Anil
 
 P.S.
 wsdd is
 -
 
 !-- Use this file to deploy some handlers/chains
 and
 services  --
 !-- Two ways to do this:
   --
 !--   java org.apache.axis.client.AdminClient
 deploy.wsdd  --
 !--  after the axis server is running
   --
 !-- or
   --
 !--   java org.apache.axis.utils.Admin
 client|server
 deploy.wsdd   --
 !--  from the same directory that the Axis
 engine
 runs --
 
 deployment
  xmlns=http://xml.apache.org/axis/wsdd/;
 

xmlns:java=http://xml.apache.org/axis/wsdd/providers/java;
 
!-- Services from DonkeyClockService WSDL
 service
 --
 
service name=DonkeyClock provider=java:RPC
 style=wrapped use=literal
parameter name=wsdlTargetNamespace
 value=urn:donkeyclock.deploy/
parameter name=wsdlServiceElement
 value=DonkeyClockService/
parameter name=schemaQualified
 value=urn:donkeyclock.deploy/
parameter name=wsdlServicePort
 value=DonkeyClock/
parameter name=className

value=deploy.donkeyclock.DonkeyClockSoapBindingSkeleton/
parameter name=wsdlPortType
 value=DonkeyClock/
parameter name=typeMappingVersion
 value=1.2/
parameter name=allowedMethods value=*/
parameter name=scope value=Session/
 
typeMapping
  xmlns:ns=urn:donkeyclock.deploy
  qname=ns:ATriggerDetail
 
 type=java:deploy.donkeyclock.ATriggerDetail
 

serializer=org.apache.axis.encoding.ser.BeanSerializerFactory
 

deserializer=org.apache.axis.encoding.ser.BeanDeserializerFactory
  encodingStyle=
/
typeMapping
  xmlns:ns=urn:donkeyclock.deploy
  qname=ns:AJobDetail
  type=java:deploy.donkeyclock.AJobDetail
 

serializer=org.apache.axis.encoding.ser.BeanSerializerFactory
 

deserializer=org.apache.axis.encoding.ser.BeanDeserializerFactory
  encodingStyle=
/
/service
 /deployment
 
 
 
 
 


 It's here! Your new message!
 Get new email alerts with the free Yahoo! Toolbar.

http://tools.search.yahoo.com/toolbar/features/mail/
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 

_
 Valentine’s Day -- Shop for gifts that spell L-O-V-E
 at MSN Shopping 

http://shopping.msn.com/content/shp/?ctId=8323,ptnrid=37,ptnrdata=24095tcode=wlmtagline
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 



 

8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news

Re: help. newbie error. cannot deploy

2007-01-19 Thread Anil Philip
Thank you for replying.
Sorry, but it is not clear about:
1) Will the error be in the axis log files, or in the
Tomcat log files?
2) How do I turn on logging for axis. ie. where should
I put the log properties file and will it be
automatically picked up?

thanks,
Anil

--- Yura Tkachenko [EMAIL PROTECTED] wrote:

 Hi,
 try to specify DEBUG, because even with INFO you can
 see nothing. You need
 to have log4j.properties file for Tomcat. Here is
 example of
 log4j.properties:
 
 # Set root category priority to INFO and its only
 appender to CONSOLE.
 log4j.rootCategory=INFO, CONSOLE
 #log4j.rootCategory=INFO, CONSOLE, LOGFILE
 
 # Set the enterprise logger category to FATAL and
 its only appender to
 CONSOLE.
 log4j.logger.org.apache.axis.enterprise=FATAL,
 CONSOLE
 
 # CONSOLE is set to be a ConsoleAppender using a
 PatternLayout.

log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
 log4j.appender.CONSOLE.Threshold=INFO

log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
 log4j.appender.CONSOLE.layout.ConversionPattern=-
 %m%n
 
 # LOGFILE is set to be a File appender using a
 PatternLayout.
 log4j.appender.LOGFILE=org.apache.log4j.FileAppender
 log4j.appender.LOGFILE.File=axis.log
 log4j.appender.LOGFILE.Append=true
 log4j.appender.LOGFILE.Threshold=INFO

log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
 log4j.appender.LOGFILE.layout.ConversionPattern=%-4r
 [%t] %-5p %c %x - %m%n
 
 Modify it if you need.
 2007/1/19, Anil Philip [EMAIL PROTECTED]:
 
  Thank you for replying.
  I do not see anything in the server logs.
 
  I looked at the admin, manager and catalina logs.
  Are there others, or should the logging
 granularity be
  set to Info - but I dont know where to set it.
 
  We are using Tomcat 5.5
 
  Any help appreciated.
  thanks,
  Anil
 
  --- Luis Rivera [EMAIL PROTECTED] wrote:
 
  
   Anil,
  
   I do not know what is the exact problem, but I
 have
   seen the same exception
   many times. The server is mapping the original
   exception to
   InvocationTargetException. Therefore, I would
   recommend looking into the
   server logs to know the original Exception and
   proceed accordingly.
  
  Hope that helps,
   --Luis R.
  
   From: Anil Philip [EMAIL PROTECTED]
   Reply-To: axis-user@ws.apache.org
   To: axis-user@ws.apache.org
   Subject: help. newbie error. cannot deploy
   Date: Thu, 18 Jan 2007 15:02:54 -0800 (PST)
   
   Hello,
   
   I am an Axis newbie. Trying to deploy.
   
   I receive an error. Nothing in the logs to show
   more
   detail:
   
   
   
   C:\Everest\WebDeployjava -classpath
   C:\Everest\WebDeploy\axis\axis.jar;
   
  
 

C:\Everest\WebDeploy\axis\axis-ant.jar;C:\Everest\WebDeploy\axis\commons-
  discovery-0.2.jar;
   
  
 
 C:\Everest\WebDeploy\axis\commons-logging-1.0.4.jar
  ;C:\Everest\WebDeploy\axis\jaxrpc.jar;
   
  
  C:\Everest\WebDeploy\axis\log4j-1.2.14.jar
  ;C:\Everest\WebDeploy\axis\saaj.jar;
   
  
  C:\Everest\WebDeploy\axis\wsdl4j-1.5.1.jar
  ;C:\Everest\WebDeploy\axis\activation.jar;
   
   C:\Everest\WebDeploy\axis\mail.jar;
   org.apache.axis.client.AdminClient
   C:\Everest\WebDeploy\deploy.wsdd
   
   Processing file
 C:\Everest\WebDeploy\deploy.wsdd
   
   Exception: AxisFault
   
 faultCode:
  
 

{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
   
 faultSubcode:
   
 faultString:
   java.lang.reflect.InvocationTargetException
   
 faultActor:
   
 faultNode:
   
 faultDetail:
   
   
   {http://xml.apache.org/axis/}hostname:ITDMWEB01
   
   
   
   
   
   Any help appreciated.
   
   Thanks,
   
   Anil
   
   P.S.
   wsdd is
   -
   
   !-- Use this file to deploy some
 handlers/chains
   and
   services  --
   !-- Two ways to do this:
 --
   !--   java org.apache.axis.client.AdminClient
   deploy.wsdd  --
   !--  after the axis server is running
 --
   !-- or
 --
   !--   java org.apache.axis.utils.Admin
   client|server
   deploy.wsdd   --
   !--  from the same directory that the Axis
   engine
   runs --
   
   deployment
xmlns=http://xml.apache.org/axis/wsdd/;
   
  
 

xmlns:java=http://xml.apache.org/axis/wsdd/providers/java;
   
  !-- Services from DonkeyClockService WSDL
   service
   --
   
  service name=DonkeyClock
 provider=java:RPC
   style=wrapped use=literal
  parameter name=wsdlTargetNamespace
   value=urn:donkeyclock.deploy/
  parameter name=wsdlServiceElement
   value=DonkeyClockService/
  parameter name=schemaQualified
   value=urn:donkeyclock.deploy/
  parameter name=wsdlServicePort
   value=DonkeyClock/
  parameter name=className
  
 

value=deploy.donkeyclock.DonkeyClockSoapBindingSkeleton/
  parameter name=wsdlPortType
   value=DonkeyClock/
  parameter name=typeMappingVersion
   value=1.2/
  parameter name=allowedMethods
 value

Re: help. newbie error. cannot deploy

2007-01-19 Thread Anil Philip
Are you saying I should put the log.properties in
C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\axis\WEB-INF\classes
then bounce the Tomcat server?
No editing changes to C:\Program Files\Apache Software
Foundation\Tomcat 5.5\conf\logging.properties?
thanks,
Anil

--- Yura Tkachenko [EMAIL PROTECTED] wrote:

 Hi,
 1) it's depend how you configurate filtering by
 packages - you can turn to
 use tomcat log or direct it to axis.log file for
 e.g.
 2) you should put log4j.properties in the
 WEB-INF\classes folder.
 
 
 2007/1/19, Anil Philip [EMAIL PROTECTED]:
 
  Thank you for replying.
  Sorry, but it is not clear about:
  1) Will the error be in the axis log files, or in
 the
  Tomcat log files?
  2) How do I turn on logging for axis. ie. where
 should
  I put the log properties file and will it be
  automatically picked up?
 
  thanks,
  Anil
 
  --- Yura Tkachenko [EMAIL PROTECTED]
 wrote:
 
   Hi,
   try to specify DEBUG, because even with INFO you
 can
   see nothing. You need
   to have log4j.properties file for Tomcat. Here
 is
   example of
   log4j.properties:
  
   # Set root category priority to INFO and its
 only
   appender to CONSOLE.
   log4j.rootCategory=INFO, CONSOLE
   #log4j.rootCategory=INFO, CONSOLE, LOGFILE
  
   # Set the enterprise logger category to FATAL
 and
   its only appender to
   CONSOLE.
   log4j.logger.org.apache.axis.enterprise=FATAL,
   CONSOLE
  
   # CONSOLE is set to be a ConsoleAppender using a
   PatternLayout.
  
 

log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
   log4j.appender.CONSOLE.Threshold=INFO
  
 

log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
  
 log4j.appender.CONSOLE.layout.ConversionPattern=-
   %m%n
  
   # LOGFILE is set to be a File appender using a
   PatternLayout.
  
 log4j.appender.LOGFILE=org.apache.log4j.FileAppender
   log4j.appender.LOGFILE.File=axis.log
   log4j.appender.LOGFILE.Append=true
   log4j.appender.LOGFILE.Threshold=INFO
  
 

log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
  
 log4j.appender.LOGFILE.layout.ConversionPattern=%-4r
   [%t] %-5p %c %x - %m%n
  
   Modify it if you need.
   2007/1/19, Anil Philip
 [EMAIL PROTECTED]:
   
Thank you for replying.
I do not see anything in the server logs.
   
I looked at the admin, manager and catalina
 logs.
Are there others, or should the logging
   granularity be
set to Info - but I dont know where to set it.
   
We are using Tomcat 5.5
   
Any help appreciated.
thanks,
Anil
   
--- Luis Rivera [EMAIL PROTECTED] wrote:
   

 Anil,

 I do not know what is the exact problem, but
 I
   have
 seen the same exception
 many times. The server is mapping the
 original
 exception to
 InvocationTargetException. Therefore, I
 would
 recommend looking into the
 server logs to know the original Exception
 and
 proceed accordingly.

Hope that helps,
 --Luis R.

 From: Anil Philip
 [EMAIL PROTECTED]
 Reply-To: axis-user@ws.apache.org
 To: axis-user@ws.apache.org
 Subject: help. newbie error. cannot deploy
 Date: Thu, 18 Jan 2007 15:02:54 -0800 (PST)
 
 Hello,
 
 I am an Axis newbie. Trying to deploy.
 
 I receive an error. Nothing in the logs to
 show
 more
 detail:
 
 
 
 C:\Everest\WebDeployjava -classpath
 C:\Everest\WebDeploy\axis\axis.jar;
 

   
  
 

C:\Everest\WebDeploy\axis\axis-ant.jar;C:\Everest\WebDeploy\axis\commons-
discovery-0.2.jar;
 

   
  
 C:\Everest\WebDeploy\axis\commons-logging-1.0.4.jar
;C:\Everest\WebDeploy\axis\jaxrpc.jar;
 

C:\Everest\WebDeploy\axis\log4j-1.2.14.jar
;C:\Everest\WebDeploy\axis\saaj.jar;
 

C:\Everest\WebDeploy\axis\wsdl4j-1.5.1.jar
;C:\Everest\WebDeploy\axis\activation.jar;
 
 C:\Everest\WebDeploy\axis\mail.jar;
 org.apache.axis.client.AdminClient
 C:\Everest\WebDeploy\deploy.wsdd
 
 Processing file
   C:\Everest\WebDeploy\deploy.wsdd
 
 Exception: AxisFault
 
   faultCode:

   
  
 

{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 
   faultSubcode:
 
   faultString:
 java.lang.reflect.InvocationTargetException
 
   faultActor:
 
   faultNode:
 
   faultDetail:
 
 

 {http://xml.apache.org/axis/}hostname:ITDMWEB01
 
 
 
 
 
 Any help appreciated.
 
 Thanks,
 
 Anil
 
 P.S.
 wsdd is

 -
 
 !-- Use this file to deploy some
   handlers/chains
 and
 services  --
 !-- Two ways to do this:
   --
 !--   java
 org.apache.axis.client.AdminClient
 deploy.wsdd  --
 !--  after the axis server is running
   --
 !-- or
   --
 !--   java org.apache.axis.utils.Admin

help. newbie error. cannot deploy

2007-01-18 Thread Anil Philip
Hello,

I am an Axis newbie. Trying to deploy.

I receive an error. Nothing in the logs to show more
detail:

 

C:\Everest\WebDeployjava -classpath
C:\Everest\WebDeploy\axis\axis.jar;

C:\Everest\WebDeploy\axis\axis-ant.jar;C:\Everest\WebDeploy\axis\commons-discovery-0.2.jar;

C:\Everest\WebDeploy\axis\commons-logging-1.0.4.jar;C:\Everest\WebDeploy\axis\jaxrpc.jar;

C:\Everest\WebDeploy\axis\log4j-1.2.14.jar;C:\Everest\WebDeploy\axis\saaj.jar;

C:\Everest\WebDeploy\axis\wsdl4j-1.5.1.jar;C:\Everest\WebDeploy\axis\activation.jar;

C:\Everest\WebDeploy\axis\mail.jar;
org.apache.axis.client.AdminClient
C:\Everest\WebDeploy\deploy.wsdd

Processing file C:\Everest\WebDeploy\deploy.wsdd

Exception: AxisFault

 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException

 faultSubcode:

 faultString:
java.lang.reflect.InvocationTargetException

 faultActor:

 faultNode:

 faultDetail:

   
{http://xml.apache.org/axis/}hostname:ITDMWEB01

 

 

Any help appreciated.

Thanks,

Anil

P.S.
wsdd is 
-

!-- Use this file to deploy some handlers/chains and
services  --
!-- Two ways to do this: 
 --
!--   java org.apache.axis.client.AdminClient
deploy.wsdd  --
!--  after the axis server is running
 --
!-- or   
 --
!--   java org.apache.axis.utils.Admin client|server
deploy.wsdd   --
!--  from the same directory that the Axis engine
runs --

deployment
xmlns=http://xml.apache.org/axis/wsdd/;
   
xmlns:java=http://xml.apache.org/axis/wsdd/providers/java;

  !-- Services from DonkeyClockService WSDL service
--

  service name=DonkeyClock provider=java:RPC
style=wrapped use=literal
  parameter name=wsdlTargetNamespace
value=urn:donkeyclock.deploy/
  parameter name=wsdlServiceElement
value=DonkeyClockService/
  parameter name=schemaQualified
value=urn:donkeyclock.deploy/
  parameter name=wsdlServicePort
value=DonkeyClock/
  parameter name=className
value=deploy.donkeyclock.DonkeyClockSoapBindingSkeleton/
  parameter name=wsdlPortType
value=DonkeyClock/
  parameter name=typeMappingVersion
value=1.2/
  parameter name=allowedMethods value=*/
  parameter name=scope value=Session/

  typeMapping
xmlns:ns=urn:donkeyclock.deploy
qname=ns:ATriggerDetail
type=java:deploy.donkeyclock.ATriggerDetail
   
serializer=org.apache.axis.encoding.ser.BeanSerializerFactory
   
deserializer=org.apache.axis.encoding.ser.BeanDeserializerFactory
encodingStyle=
  /
  typeMapping
xmlns:ns=urn:donkeyclock.deploy
qname=ns:AJobDetail
type=java:deploy.donkeyclock.AJobDetail
   
serializer=org.apache.axis.encoding.ser.BeanSerializerFactory
   
deserializer=org.apache.axis.encoding.ser.BeanDeserializerFactory
encodingStyle=
  /
  /service
/deployment




 

It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]