Re: Cannot install on Windows!

2008-01-23 Thread Wendy Smoak
On Jan 23, 2008 6:46 AM, Clifton [EMAIL PROTECTED] wrote:

 No. I installed in C:\java-apps\archiva. I edited the batch file to put
 fouble quotes around the env var expansions. I know this is a common problem
 with many batch scripts written for Java apps. (I had the same issue with
 Laszlo and quoting the env-vars fixed it.) However that didn't seem to make
 a difference. I also move Java from C:\Program Files\JavaSoft\jdk-1.5.0_10
 to the root of my C drive so that when Java_Home expands in the batch file
 it wouldn't be a problem. Still I get this problem. I thought it may be
 choking on my Path variable because that would be the only thing that has
 Files\Research in it.

Try setting a different PATH for Archiva, with only what it needs.

 You can add a line to the batch file that starts Archiva, or run
Archiva as a different user with its own environment.

-- 
Wendy


Re: Cannot install on Windows!

2008-01-23 Thread Clifton

Thanx! I'll try that tonight when I get home. Still I wonder why t would be
an issue to start with. I must be doing something wrong but I'm not sure
where.


Wendy Smoak-3 wrote:
 
 On Jan 23, 2008 6:46 AM, Clifton [EMAIL PROTECTED] wrote:
 
 No. I installed in C:\java-apps\archiva. I edited the batch file to put
 fouble quotes around the env var expansions. I know this is a common
 problem
 with many batch scripts written for Java apps. (I had the same issue with
 Laszlo and quoting the env-vars fixed it.) However that didn't seem to
 make
 a difference. I also move Java from C:\Program
 Files\JavaSoft\jdk-1.5.0_10
 to the root of my C drive so that when Java_Home expands in the batch
 file
 it wouldn't be a problem. Still I get this problem. I thought it may be
 choking on my Path variable because that would be the only thing that has
 Files\Research in it.
 
 Try setting a different PATH for Archiva, with only what it needs.
 
  You can add a line to the batch file that starts Archiva, or run
 Archiva as a different user with its own environment.
 
 -- 
 Wendy
 
 

-- 
View this message in context: 
http://www.nabble.com/Cannot-install-on-Windows%21-tp15020396p15051327.html
Sent from the archiva-users mailing list archive at Nabble.com.



Re: Cannot install on Windows!

2008-01-22 Thread Maria Odea Ching
Was the installation directory of Archiva in C:\Program Files\Research by
any chance? Looks like it had a problem with the space in 'Program Files'..
Could you try it at the root directory instead?

If the problem still persists, could you please file a jira for this?
Thanks!

-Deng

On Jan 22, 2008 11:04 PM, Clifton [EMAIL PROTECTED] wrote:


 I've been watching the Archiva project for a while now and I really want
 to
 start using it since its been released. However, I've never been
 successful
 in getting Archiva to install and run properly. I just downloaded the
 standalone distro this morning and tried running run.bat console and I get
 the following error:

 wrapper  | -- Wrapper Started as Console
 wrapper  | Launching a JVM...
 jvm 1| java.lang.NoClassDefFoundError: Files\Research
 jvm 1| Exception in thread main
 wrapper  | JVM exited while loading the application.
 wrapper  | Launching a JVM...
 jvm 2| java.lang.NoClassDefFoundError: Files\Research
 jvm 2| Exception in thread main
 wrapper  | JVM exited while loading the application.
 wrapper  | Launching a JVM...
 jvm 3| java.lang.NoClassDefFoundError: Files\Research
 jvm 3| Exception in thread main
 wrapper  | JVM exited while loading the application.
 wrapper  | Launching a JVM...
 jvm 4| java.lang.NoClassDefFoundError: Files\Research
 jvm 4| Exception in thread main
 wrapper  | JVM exited while loading the application.
 wrapper  | Launching a JVM...
 jvm 5| java.lang.NoClassDefFoundError: Files\Research
 jvm 5| Exception in thread main
 wrapper  | JVM exited while loading the application.
 wrapper  | There were 5 failed launches in a row, each lasting less than
 300
 seconds.  Giving up.
 wrapper  |   There may be a configuration problem: please check the logs.
 wrapper  | -- Wrapper Stopped
 Could someone advise me what the problem is? I might try just plugging the
 war into an instance of Tomcat for now and see how far I get with that.
 Still I'm a little nervous about using this for production.
 --
 View this message in context:
 http://www.nabble.com/Cannot-install-on-Windows%21-tp15020396p15020396.html
 Sent from the archiva-users mailing list archive at Nabble.com.