Re: [JBoss-user] Error running jboss on Solaris.

2001-09-26 Thread John LYC

Ok..
i'll try it out
and report it if it works..
thanks
guys
john
- Original Message - 
From: "Tobias Frech" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 25, 2001 2:30 PM
Subject: Re: [JBoss-user] Error running jboss on Solaris.


> It could be that your shell does not understand the "export name=value"
> construct. Look into your shell docu or simply try replacing the line
> with "setenv name value". Note the missing "=" !
> 
> And don't forget to report back, if it works :-)
> 
> Cheers,
> Tobias
> 
> John LYC wrote:
> >
> > hi all,
> > when i exec the run_with_tomcat.sh.
> > i get this error msg.
> > -
> > JBOSS_CLASSPATH=/usr/j2sdk1_3_1/lib/tools.jar: is not an identifier.
> > -
> >
> > i think it comes from the 2nd line of the run_with_tomcat.sh
> > -
> > export JBOSS_CLASSPATH=$JBOSS_CLASSPATH:$JAVA_HOME/lib/tools.jar
> > -
> >
> > I check and the path is correct, there is a tools.jar.
> >
> > John
> >
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Error running jboss on Solaris.

2001-09-26 Thread John LYC

thanks
=)
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 25, 2001 9:19 PM
Subject: RE: [JBoss-user] Error running jboss on Solaris.


> I had the same problem I still have the thread on paper.
> Dan Bratton writes:
> edit your 'run_with_tomcat.sh' file and change the line that reads:
>
> export JBOSS_CLASSPATH=$JBOSS_CLASSPATH:$JAVA_HOME/lib/tools.jar
>
> to read:
>
> JBOSS_CLASSPATH=$JAVA_HOME/lib/tools.jar:$JBOSS_CLASSPATH
>
> that should take care of it for you
>
> db
> If I remember right that worked for me. Also note the -tar on solaris has
a
> known bug so if you got a checksum error after you compiled jboss then use
> gzip.(also from archives)
> Graham
>
> -Original Message-
> From: John LYC [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 24, 2001 11:09 PM
> To: Jboss Mailing List
> Subject: [JBoss-user] Error running jboss on Solaris.
>
>
> hi all,
> when i exec the run_with_tomcat.sh.
> i get this error msg.
> -
> JBOSS_CLASSPATH=/usr/j2sdk1_3_1/lib/tools.jar: is not an identifier.
> -
>
> i think it comes from the 2nd line of the run_with_tomcat.sh
> -
> export JBOSS_CLASSPATH=$JBOSS_CLASSPATH:$JAVA_HOME/lib/tools.jar
> -
>
> I check and the path is correct, there is a tools.jar.
>
> John
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Error running jboss on Solaris.

2001-09-25 Thread Graham . Forte

I had the same problem I still have the thread on paper. 
Dan Bratton writes:
edit your 'run_with_tomcat.sh' file and change the line that reads:
 
export JBOSS_CLASSPATH=$JBOSS_CLASSPATH:$JAVA_HOME/lib/tools.jar
 
to read:
 
JBOSS_CLASSPATH=$JAVA_HOME/lib/tools.jar:$JBOSS_CLASSPATH
 
that should take care of it for you
 
db
If I remember right that worked for me. Also note the -tar on solaris has a
known bug so if you got a checksum error after you compiled jboss then use
gzip.(also from archives)
Graham

-Original Message-
From: John LYC [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 11:09 PM
To: Jboss Mailing List
Subject: [JBoss-user] Error running jboss on Solaris.


hi all,
when i exec the run_with_tomcat.sh.
i get this error msg.
-
JBOSS_CLASSPATH=/usr/j2sdk1_3_1/lib/tools.jar: is not an identifier.
-

i think it comes from the 2nd line of the run_with_tomcat.sh
-
export JBOSS_CLASSPATH=$JBOSS_CLASSPATH:$JAVA_HOME/lib/tools.jar
-

I check and the path is correct, there is a tools.jar.

John


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Error running jboss on Solaris.

2001-09-24 Thread Tobias Frech

It could be that your shell does not understand the "export name=value"
construct. Look into your shell docu or simply try replacing the line
with "setenv name value". Note the missing "=" !

And don't forget to report back, if it works :-)

Cheers,
Tobias

John LYC wrote:
> 
> hi all,
> when i exec the run_with_tomcat.sh.
> i get this error msg.
> -
> JBOSS_CLASSPATH=/usr/j2sdk1_3_1/lib/tools.jar: is not an identifier.
> -
> 
> i think it comes from the 2nd line of the run_with_tomcat.sh
> -
> export JBOSS_CLASSPATH=$JBOSS_CLASSPATH:$JAVA_HOME/lib/tools.jar
> -
> 
> I check and the path is correct, there is a tools.jar.
> 
> John
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Error running jboss on Solaris.

2001-09-24 Thread David Ward

The original sh file was probably written on Linux, where /bin/sh (at 
least on Red Hat 7.x) is a symbolic link to bash, which can do the 
Korn-like export as part of the same statement as the value setting. 
You're right; exporting the variable AFTER it's been set will work for both.

David

--

Toby Allsopp wrote:

> On Tue, Sep 25, 2001 at 12:09:29PM +0800, John LYC wrote:
> 
>>hi all,
>>when i exec the run_with_tomcat.sh.
>>i get this error msg.
>>-
>>JBOSS_CLASSPATH=/usr/j2sdk1_3_1/lib/tools.jar: is not an identifier.
>>-
>>
>>i think it comes from the 2nd line of the run_with_tomcat.sh
>>-
>>export JBOSS_CLASSPATH=$JBOSS_CLASSPATH:$JAVA_HOME/lib/tools.jar
>>-
>>
> 
> That's not valid sh syntax.  Try changing it to read
> 
> JBOSS_CLASSPATH=$JBOSS_CLASSPATH:$JAVA_HOME/lib/tools.jar; export JBOSS_CLASSPATH
> 
> If that works, please post it as a patch on SourceForge.
> 
> Toby.
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 


-- 

---
David Ward[EMAIL PROTECTED]
Senior Software Engineer  http://www.dotech.com
Distributed Object Technologies, Inc. 716-381-8320 (phone)
500 Linden Oaks, Rochester, NY 14625  716-381-0598 (fax)


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Error running jboss on Solaris.

2001-09-24 Thread Toby Allsopp

On Tue, Sep 25, 2001 at 12:09:29PM +0800, John LYC wrote:
> hi all,
> when i exec the run_with_tomcat.sh.
> i get this error msg.
> -
> JBOSS_CLASSPATH=/usr/j2sdk1_3_1/lib/tools.jar: is not an identifier.
> -
> 
> i think it comes from the 2nd line of the run_with_tomcat.sh
> -
> export JBOSS_CLASSPATH=$JBOSS_CLASSPATH:$JAVA_HOME/lib/tools.jar
> -

That's not valid sh syntax.  Try changing it to read

JBOSS_CLASSPATH=$JBOSS_CLASSPATH:$JAVA_HOME/lib/tools.jar; export JBOSS_CLASSPATH

If that works, please post it as a patch on SourceForge.

Toby.

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Error running jboss on Solaris.

2001-09-24 Thread John LYC

hi all,
when i exec the run_with_tomcat.sh.
i get this error msg.
-
JBOSS_CLASSPATH=/usr/j2sdk1_3_1/lib/tools.jar: is not an identifier.
-

i think it comes from the 2nd line of the run_with_tomcat.sh
-
export JBOSS_CLASSPATH=$JBOSS_CLASSPATH:$JAVA_HOME/lib/tools.jar
-

I check and the path is correct, there is a tools.jar.

John


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user