I'm such a dumbass. Finally got it to work. Basically
i should have set the CLASSPATH instead of the PATH
variable. sigh, anyway i did a lot of other stuff,
don't know if it helped.

The list of stuff that i added and did can be found on
this website, for the benefit of those facing the same
problems as me(not very likely =p)

http://www.ncsa.uiuc.edu/people/ramonw/ws_demo/axisdemo.html

huge thanks to the site creator and the mailiing list
users who have been prodding me in the right
direction.

--- shaun lim <[EMAIL PROTECTED]> wrote:
> Thanks all your replies! Er, Considering that I
> don't
> even know where the  AdminClient class resides ..
> maybe its not even compiled..
> 
> How do i go about compiling it?
> 
> and whats the syntax for setting variables in
> .bashrc?
> I tried "set" and "alias" to no avail..
> 
> maybe its not a classpath problem after all..but
> cause
> silly me didnt know how to compile the AdminClient.
> Anyway i've manually typed everything in the $PATH
> variable in .bash_profile. should eliminate any
> class
> problems now..
> 
> Thanks for taking the time to help a noob guys,
> really
> appreciate it.
> 
> 
> --- Mark Leone <[EMAIL PROTECTED]> wrote:
> > Shaun,
> > 
> > I have no experience with linux, but I have a few
> > questions that might help 
> > you zero in on your problem.
> > 
> > You mention two run-time errors in this thread.
> Your
> > fist message reported 
> > "Exception in thread "main"
> > java.lang.NoClassDefFoundError," and your second 
> > message reported "Unrecognized option: -l Could
> not
> > create the Java virtual 
> > machine." Are you still getting both errors? The
> > former looks like a 
> > classpath problem, but the latter does not.
> > 
> > You say that you can't echo the $AXIS_Home
> > directory. What is your $Home 
> > variable set to, since it detremines the value of
> > $AXIS_HOME, $AXIS_LIB, and 
> > $AXISCLASSPATH?
> > 
> > Silly question, but has your AdminCLient class
> been
> > compiled?
> > 
> > 
> > 
> > 
> > 
> > >From: shaun lim <[EMAIL PROTECTED]>
> > >Reply-To: [EMAIL PROTECTED]
> > >To: [EMAIL PROTECTED]
> > >Subject: Re: "Unique" classpath problem
> > >Date: Sat, 24 Apr 2004 08:12:22 -0700 (PDT)
> > >
> > >Hi Mark! thanks for the reply. Yup i typed -l as
> in
> > l for Lion. i have a 
> > >feelings its cause my classpath isn't set
> properly
> > because i'm unable to 
> > >echo the $AXIS_HOME directory.
> > >
> > >Am i supposed to set the $AXIS_HOME,$AXISLIB etc
> in
> > the bash_profile or 
> > >bashrc? sorry i'm almost a total linux noob.
> > >
> > >Anybody running axis/tomcat on linux? Help?
> > Thanks..
> > >
> > >Mark Leone <[EMAIL PROTECTED]> wrote:
> > >Are you typing -1 (dash ) or -l (dash ) for the
> > >option? They look identical in some fonts. Looks
> > like your message is
> > >related to the option you specifed and not the
> > classpath.
> > >
> > >
> > > >From: shaun lim
> > >
> > > >Reply-To: [EMAIL PROTECTED]
> > > >To: [EMAIL PROTECTED]
> > > >Subject: Re: "Unique" classpath problem
> > > >Date: Fri, 23 Apr 2004 21:44:17 -0700 (PDT)
> > > >
> > > >oops im sorry i left out the "deploy.wsdd"
> > > >
> > > >its supposed to be:
> > > >
> > > >When i try:
> > > >[EMAIL PROTECTED] stock]$ java -cp
> $AXISCLASSPATH
> > > >org.apache.axis.client.AdminClient -l
> > >
> >http://localhost:8080/axis/services/AdminService
> > deploy.wsdd
> > > >
> > > >I get:
> > > >Unrecognized option: -l
> > > >Could not create the Java virtual machine.
> > > >
> > > >
> > > >
> > > >shaun lim
> > >wrote:
> > > >Hi guys, maybe its the fact that im a newbie to
> > both
> > > >linux and axis, but no one else seems to be
> > having my
> > > >kind of classpath problems.
> > > >
> > > >Please help if you can =)
> > > >
> > > >Here goes, I installed axis 1.1 on tomcat4.06
> > that
> > > >comes with NetBeans 3.5.1 by copying the
> > > >axis-1_1/webapps/axis folder to my tomcat
> webapps
> > > >folder as instructed by the tutorial.
> > > >
> > > >Then i set my class path as follows:
> > > >
> > > ># .bash_profile
> > > >
> > > ># Get the aliases and functions
> > > >if [ -f ~/.bashrc ]; then
> > > >. ~/.bashrc
> > > >fi
> > > >
> > > ># User specific environment and startup
> programs
> > > >
> > > >PATH=$PATH:$HOME/bin
> > > >PATH=$HOME/SUNWappserver/jdk/bin:$PATH
> > > >
> > > >set AXIS_HOME=$HOME/web/axis-1_1
> > > >set AXIS_LIB=$AXIS_HOME/lib
> > > >set
> > >
> >
>
>AXISCLASSPATH=$AXIS_LIB/axis.jar:$AXIS_LIB/commons-discovery.jar:
> > > >
> > >
> >
>
>$AXIS_LIB/commons-logging.jar:$AXIS_LIB/jaxrpc.jar:$AXIS_LIB/saaj.jar:
> > > >
> > >
> >
>
>$AXIS_LIB/log4j-1.2.8.jar:$AXIS_LIB/xml-apis.jar:$AXIS_LIB/xercesImpl.jar:$HOME/web/axis-1_1
> > > >
> > > >PATH=$AXISCLASSPATH:$PATH
> > > >export AXIS_HOME; export AXIS_LIB; export
> > > >AXISCLASSPATH
> > > >export PATH
> > > >unset USERNAME
> > > >
> > > >-
> > > >Is there anything wrong with my classpath? My
> > axis
> > > >installation validates fine but i can't seem to
> > access
> > > >the AdminClient.
> > > >
> > > >I get the following errors:
> > > >
> > > >When i try:
> > > >[EMAIL PROTECTED] stock]$ java -cp
> $AXISCLASSPATH
> > > >org.apache.axis.client.AdminClient -l
> > >
> >http://localhost:8080/axis/services/AdminService
> > > >
> > > >I get:
> > > >Unrecognized option: -l
> > > >Could not create the Java virtual machine.
> > > >
> > > >When i try:
> > > >[EMAIL PROTECTED] stock]$ java
> > > >org.apache.axis.client.AdminClient -l
> > >
> >http://localhost:8080/axis/services/AdminService
> > > >
> > > >I get:
> > > >Exception in thread "main"
> > > >java.lang.NoClassDefFoundError:
> > > >org/apache/axis/client/AdminClient
> > > >
> > > >Please help guys..this is really furstrating.
> > > >
> > > >I saw that some folks actually set their
> > $AXISHOME as
> > > >the copied axis directory in their
> 
=== message truncated ===



        
                
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25�
http://photos.yahoo.com/ph/print_splash

Reply via email to