-
1. Re: Difficulty Setting up on AIX 4.3
afernandez Apr 28, 2003 8:00 AM (in response to nyquest)Hi! Try JDK 1.4.x. with JBoss 3.x
-
2. Re: Difficulty Setting up on AIX 4.3
nyquest Apr 28, 2003 10:32 AM (in response to nyquest)Hello,
Thanks for the response but the problem is AIX version 4.3 doesn't support JDK 1.4. So switching to 1.4 is not really an option here.
If there is anybody else that could shed some light on this problem that would be great -
3. Re: Difficulty Setting up on AIX 4.3
jonlee Apr 28, 2003 10:56 AM (in response to nyquest)You may want to try things without your own XML libraries in the classpath. JBoss includes the infrastructure as it has to process XML configuration files - you'll see the xercesimpl.jar in the main JBoss library. It might explain why things fell apart when it tried to read jboss-service.xml. Try it anyway.
-
4. Re: Difficulty Setting up on AIX 4.3
nyquest Apr 28, 2003 1:09 PM (in response to nyquest)Hi
I after I removed the xml libraries that I put in myself I noticed that the JBoss Classpath only had run.jar. Also at that point the xml parser wouldn't work anymore. So I figuered there is something wrong with JBoss's classpath. I then added the 2 xml.jar files located in the lib directory to the JBoss classpath and I got the same error.
My question is are there any other dependencies I should know about? That is, am I missing anything else in the Jboss classpath that I need to make this work?
Ny -
5. Re: Difficulty Setting up on AIX 4.3
nyquest Apr 28, 2003 2:40 PM (in response to nyquest)OK here is an update, although nothing is still working but I ran the classpath.sh script to determine the files needed in the JBOSS_CLASSPATH.
But I'm still getting the same error of something to do with URLDeploymentScanner i.e. the same error as my very first post.
I'm totally lost
Ny -
6. Re: Difficulty Setting up on AIX 4.3
jonlee Apr 28, 2003 8:43 PM (in response to nyquest)The startup script for JBoss sets up a static classpath to tools.jar and run.jar. This is all that is needed to boostrap JBoss. JBoss will load all classes in archives located in its topmost lib into its runtime environment to further the start up process and get the core JBoss kernel up and running (e.g. ${JBOSS_HOME}/lib). It will then load classes from the instance lib into its runtime environment so it can start the various instance specific services (e.g. ${JBOSS_HOME}/server/default/lib).
Remove any other specific jars from your classpath before starting JBoss.
Post your boot.log and server.log as attachments here so we can view them. Someone should then be able to have an idea of how far things are getting. -
7. Re: Difficulty Setting up on AIX 4.3
nyquest Apr 29, 2003 9:07 AM (in response to nyquest)jonlee,
I really appreciate all the help you have supplied for me. I have one question before I try this again.
When I first extracted JBoss from download and ran "run.sh" It gave me an error saying could not find some xml factory. To let you know the environment, I do not have a CLASSPATH or a JBOSS_CLASSPATH envirnment variable setup so everything is just "straight out of the box" for JBoss. So I then preceided to add the XML libraries into the CLASSPATH I then did not get that error but I got the error I posted here.
So what I don't get is you're telling me that I don't need anything in my classpaths or jboss_classpath?
I will try but I'm not sure how its goign to work if i'm running Java 1.3.1 with no XML parsing capabilities
Ny -
8. Re: Difficulty Setting up on AIX 4.3
jonlee Apr 29, 2003 9:30 AM (in response to nyquest)There should be no requirement for any additionals but we need to establish that first by actually sighting the errors coming up. We've run JBoss with the JDK from WAS 5.0 in AIX without any issues. I assume you have the IBM JDK?
Essentially, the only thing you may need is to configure JAVA_HOME. You can read through the run.sh script. It isn't that complex so you can assure yourself of what is happening.
When you start running the script, you probably should get something like this:
================================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /usr/local/JBoss-3.2.0
JAVA: /usr/local/j2sdk1.4.1_01/bin/java
JAVA_OPTS: -server -Dprogram.name=run.sh
CLASSPATH: /usr/local/JBoss-3.2.0/bin/run.jar:/usr/local/j2sdk1.4.1_01/lib/too
ls.jar
================================================================================
In this case, it is from a Linux boxen. Unfortunately, we don't currently have any book-ins to the IBM virtual labs so I can't walk this one through with you.
As you can see, there is nothing special in the classpath. JBoss should be pretty much self-contained in terms of bootstrapping itself to life.
JBoss will load up the classes in its lib directories automagically. -
9. Re: Difficulty Setting up on AIX 4.3
nyquest Apr 29, 2003 10:15 AM (in response to nyquest)Hey,
Yeah thats what I get but some different things. One thing is that you're running 1.4.1 so there isn't anything you really need because I was able to get it running on 1.4.1 too (on my Windows machine). Secondly because we're running AIX 4.3 it only supports IBM JDK 1.3.1 and nothign higher and thats why I can't use 1.4.1. I also believe that WAS 5.0 comes with 1.4.1 natively installed so....that could explain why you were able to run JBoss no problem WAS.
I guess I'll have to try running a older version of JBoss but I was wondering is it possible to run Sun's Version of Java on a AIX machine.
I think I'm just gogin to have to give up on this JBoss 3.2. =\
Ny -
10. Re: Difficulty Setting up on AIX 4.3
jonlee Apr 29, 2003 10:27 AM (in response to nyquest)No, the example from Linux was just to give you an idea of the way the environment should be set up. You would substitute the patterns for your environment accordingly. The important thing to see was the classpath - it just had the run.jar and the tools.jar from your Java distribution.
WAS 5.0 currently comes with IBM JDK 1.3.1 (note, not Sun JDK 1.3.1). I don't believe that WAS 5.0 will ship with an IBM architected JDK 1.4.1 until later in the year. So we were running JBoss with IBM JDK 1.3.1.