Re: [Axis2] Jar files in /tmp

2007-01-19 Thread Raghbir Singh

Hello,
   Thanks a lot for the quick response.
- Will it be fine if I remove all those Jar files from the Mar and put 
them in the classpath ? With respect to the license regulations, am I 
allowed to repackage the Mar files ?
- On the other hand, will it be fine if delete these files from the /tmp 
directory in case the process that used those files is still running ? 
The process is a server process which uses Axis2 client. Every time it 
sends a request on Axis2, it creates a bunch of files in /tmp and the 
usage of /tmp has gone to 2GB and it is a little concern now.

   Thanks in advance for all the answers and help.
Raghbir Singh


Deepal Jayasinghe said the following on 01/18/07 23:25:

Hi Raghbir ;
Axis2 create those temp files in following two cases;
 - When you have set hot update to true
 - When aar file or mar file contains jar file inside it (Axis2 copy
those files into temp directory)

At the moment there is no way to control that behavior.

Thanks
Deepal

  

Hello,
   I have been running a server process for months now and it uses
Axis2. I noticed that there are some files in the /tmp directory by
the names like axis2XName.jar where X is a number and Name is
the name of a jar file that Axis2 uses.
   Has anybody seen this earlier and how to control it ?
Thanks a lot,
Raghbir Singh

-
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]



[Axis2] Jar files in /tmp

2007-01-18 Thread Raghbir Singh

Hello,
   I have been running a server process for months now and it uses 
Axis2. I noticed that there are some files in the /tmp directory by the 
names like axis2XName.jar where X is a number and Name is the 
name of a jar file that Axis2 uses.

   Has anybody seen this earlier and how to control it ?
Thanks a lot,
Raghbir Singh

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



Re: Abandoning AXIS :( !!!

2006-07-25 Thread Raghbir Singh
If you can change the System.loadLibrary or System.load call then,
please put the complete path to dll there else try to change the
java.library.path to include the path to the dll.

Hope that helps.
Thanks a lot,
Raghbir Singh

Davanum Srinivas said the following on 07/24/06 23:00:
> Luis,
>
> Isn't the JNI dll and the code that wraps the JNI dll should be
> independent of axis package. Right? If it is, only that code (dll and
> jar for the wrapper) should be in the extension dirs. NOT axis jars.
>
> -- dims
>
> On 7/24/06, Luis Rivera <[EMAIL PROTECTED]> wrote:
>>
>> Thanks Dims and Warren,
>>
>> I really really apreciate your input.
>>
>> Does these options mean that it is not possible to make it work
>> inside the
>> current Tomcat class loading model  (as it says in the Tomcat
>> documentation)?
>>
>> Basically I need to take my application and all the necessary axis
>> jar file
>> outside of the Tomcat directories, wheater it is under jre/lib/ext or
>> another directory added to the classpath, rigth? Outside of the servlet
>> classloading model.
>>
>> I will try this right away, just need to make sure I include all the jar
>> files from the axis package I will need to make it work.
>>
>>
>>Thanks again,
>> --Luis R.
>>
>> >From: Warren Crossing <[EMAIL PROTECTED]>
>> >Reply-To: axis-user@ws.apache.org
>> >To: axis-user@ws.apache.org, [EMAIL PROTECTED]
>> >Subject: Re: Abandoning AXIS :( !!!
>> >Date: Tue, 25 Jul 2006 09:49:05 +1000
>> >
>> >You might have to add the jar file to the System classpath i.e set the
>> >CLASSPATH env variable and export it > export CLASSPATH
>> >
>> >Add an echo $CLASSPATH to tomcat/bin/catalina.sh around line ~147ish
>> >
>> >Good luck, you're definatley using the technology!!
>> >
>> >Davanum Srinivas wrote:
>> >>did you try dropping the jar in jre\lib\ext and the dll's in jre\bin?
>> >>http://java.sun.com/j2se/1.4.2/docs/guide/extensions/spec.html
>> >>
>> >>-- dims
>> >>
>> >>On 7/24/06, Luis Rivera <[EMAIL PROTECTED]> wrote:
>> >>
>> >>>
>> >>> Axis users/devs,
>> >>>
>> >>>Unless I can find a solution for this today, I will have to move
>> on and
>> >>>find
>> >>>better options. I believed that susing a axis/tomcat web service to
>> >>>bridge
>> >>>my current C++ server was going to be easy. But I cannot get past a
>> >>>classs
>> >>>loading problem in the TOMCAT and nobody seems to have any idea of
>> what
>> >>>is
>> >>>wrong.
>> >>>
>> >>>See, we already have a server side implementation of the services
>> in C++
>> >>>(Roguewave), but we are looking into a cheaper option, which is
>> why I was
>> >>>looking into axis/tomcat. My clients are using Axis anyway, so I
>> thought
>> >>>using Tomcat was going to be straight forward.
>> >>>
>> >>>So, we don't want to reimplement everything in Java, which means I
>> only
>> >>>need
>> >>>a jni wrapper in the axis server to call my DCE proxies in C++. 
>> So, the
>> >>>picture looks like this
>> >>>
>> >>>axis Client --> axis Server --> jniWrapper --> DCEProxy (C++
>> >>>implementation)
>> >>>
>> >>>And the problem lies on the fact that I need to place the jniWrapper
>> >>>outside
>> >>>of the TOMCAT_HOME/webapps directory, causing all kind of problems
>> with
>> >>>the
>> >>>class loaders, despite the fact that all the classes are supposedly
>> >>>correctly resolved. I still have that LinkageError, regardless of
>> where I
>> >>>place the classe (shared or common).
>> >>>
>> >>>As I said before, if all the application is placed under
>> >>>TOMCAT_HOME/webapps/axis/classes, there are no exceptions thrown!
>> >>>
>> >>>Hope this clarifies my situation and if you have any advice, I would
>> >>>greatly
>> >>>appreciate it.
>> >>>
>> >>>I am including the exception as captured in the logger.
>> >>>
>> >>>15063 [http-8095-Processor25] DEBUG
>> >>>org.apache.axis.e

Re: [Axis2] Few questions about security

2006-07-21 Thread Raghbir Singh
Hello,
Thanks for the comments.
I wanted to change milliseconds precision programmatically, inside
the code.
Anyways, thanks for the pointer.
Have a pleasant time ahead,
Raghbir Singh

Ruchith Fernando said the following on 07/21/06 08:12:
> Hi,
>
> Please see my comments in line:
>
> On 7/21/06, Raghbir Singh <[EMAIL PROTECTED]> wrote:
>> Hello,
>> I have a few questions about security.
>>
>> 1. Can I remove the milliseconds part from a Timestamp, which is sent to
>> the server and also the one which is used to create Password Digest ?
>
> Yes !
>
> Please use
>
> false
>
> within the  element of the "OutflowSecurity" parameter.
>
>> 2. Can I specify the order of tokens, like I want Timestamp first and
>> then a UsernameToken. ?
>
> Yes !
>
> To add a Username token and a Timestamp into the security header you
> have to use :
>
> Timestamp UsernameToken within the  element.
>
> In the above case the first element of the security header will be the
> UsernameToken and the next will be Timestamp.
>
> If you want to change the order simply change the order of the items
> in the  element. Basically the last item of the list will be
> the first to appear in the security header.
>
> Thanks,
> Ruchith
>

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



[Axis2] Few questions about security

2006-07-21 Thread Raghbir Singh
Hello,
I have a few questions about security.

1. Can I remove the milliseconds part from a Timestamp, which is sent to
the server and also the one which is used to create Password Digest ?
2. Can I specify the order of tokens, like I want Timestamp first and
then a UsernameToken. ?

Thanks a lot,
Raghbir Singh

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



Username Token in Outgoing Request from Client programmatically

2006-05-17 Thread Raghbir Singh
Can anybody give me an overview how can I add Username Token to an 
outgoing message to only one particular Outgoing Request from a Client.


I generated the code using WSDL2Java and everything works fine. I just 
need to add Security to a few requests programmatically.


Thanks a lot,
Raghbir Singh


Re: [Axis2] Securing ServiceClient tutorial class

2006-05-16 Thread Raghbir Singh

Thanks Ali,
   But I am looking for a way to do that inside the Java Program 
itself. I found that there are classes to add WS-Security extensions in 
WSS4J but they all expect w3c.Document object and Axis2 works with Axiom 
model. So the basic problem is to do it inside the program itself.

   Anyways, thanks so much for replying.
Raghbir Singh

Ali Sadik Kumlali said the following on 05/16/06 15:24:

Hi Raghbir,

I hope following steps would help:
- WSDL2Java can also generate test client. You may use them.
- You should create a client_repo folder similar to the security sample
found under ...\axis2\samples\security\
- When running your test client, you need to pass
"-Daxis2.repo=client_repo" parameter.

Regards,

Ali Sadik Kumlali

--- Raghbir Singh <[EMAIL PROTECTED]> wrote:

  

Hello,


   I was trying to find ways I could secure the Code Generated Stub
  
classes. I search through all Rampart tutorials but could not find
  
any 


information how I can sign the outgoing message programmatically.
   I shall be thankful for any information on using Rampart 
programmatically with Code Generated (WSDL2Java generated) Axis2 
Client Stubs.

   Thanks a lot,
Raghbir Singh

  



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
  


[Axis2] Securing ServiceClient tutorial class

2006-05-16 Thread Raghbir Singh

Hello,
   I was trying to find ways I could secure the Code Generated Stub 
classes. I search through all Rampart tutorials but could not find any 
information how I can sign the outgoing message programmatically.
   I shall be thankful for any information on using Rampart 
programmatically with Code Generated (WSDL2Java generated) Axis2 
Client Stubs.

   Thanks a lot,
Raghbir Singh