-
1. Re: perception Check on JBoss-3.0.0beta startup
adrian.brock Mar 3, 2002 12:03 AM (in response to rinehart)Your first problem is java1.4
Sun will have fixed version of jmxri.jar available soon.
If you want more info search the forums.
I don't think this stops the server working. It
just causes lots of exceptions and you can't use
JSR77 management.
Your second problem is that you aren't getting an
initial context. Can you check the contents of
jndi.properties?
Regards,
Adrian -
2. Re: perception Check on JBoss-3.0.0beta startup
rinehart Mar 3, 2002 12:17 AM (in response to rinehart)Thanks,
JBOSS_DIST\conf\default\jndi.properties contents follow:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
# Do NOT uncomment this line as it causes in VM calls to go over
# RMI!
#java.naming.provider.url=localhost
That's the jndi.properties file you're referring to I presume. I haven't changed it since the install.
- Mac -
3. Re: perception Check on JBoss-3.0.0beta startup
adrian.brock Mar 3, 2002 7:18 AM (in response to rinehart)That's a weird one.
Have you changed the classpath? You might have a
jndi.properties somewhere else?
Regards,
Adrian -
4. Re: perception Check on JBoss-3.0.0beta startup
rinehart Mar 3, 2002 12:15 PM (in response to rinehart)Let's review...
JBOSS_DIST = C:\jboss-3.0.0beta
There's the one jndi.properties I told you about, then another at jboss_dist\admin\client with the following contents:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=localhost:1099
java.naming.factory.url.pkgs=org.jboss.naming
J2EE_HOME = C:\j2sdkee1.3_01
-- does JBoss add this to it's classpath?
I've got one jndi.properties at J2EE_HOME\lib\classes with the following contents:
java.naming.factory.initial=com.sun.enterprise.naming.SerialInitContextFactory
java.naming.factory.url.pkgs=com.sun.enterprise.naming
There are several other jndi.properties files, but they shouldn't be in the classpath. They are all from previous JBoss installations that I have sitting on my computer. I checked my static classpath and there are no jndi.properties files located anywhere in the static classpath.
Perhaps you could clue me in on what is weird, and what is normal... I just what to be like everyone else, man. ;)
- Mac -
5. Re: perception Check on JBoss-3.0.0beta startup
rinehart Mar 3, 2002 12:26 PM (in response to rinehart)I should throw in at this point that all the exceptions are gone, so the first problem (using JRE 1.4) was the root cause of all that. I'm presuming that you saw another issue that I was not aware of, but if that is not the case, then perhaps we're finished here.
There is only one remaining oddity that I'm aware of (besides my own application) and that is there are still some JAR files that could not be opened. I attached the system.log again so you can see which I'm referring to. And I'm still ironing out the wrinkles in my application so you can ignore the deployer exceptions. -
6. Re: perception Check on JBoss-3.0.0beta startup
adrian.brock Mar 3, 2002 12:56 PM (in response to rinehart)Did you forget the attachment?
Regards,
Adrian -
7. Re: perception Check on JBoss-3.0.0beta startup
rinehart Mar 3, 2002 1:29 PM (in response to rinehart)details schmetails
-
8. Re: perception Check on JBoss-3.0.0beta startup
adrian.brock Mar 4, 2002 4:47 AM (in response to rinehart)Don't worry about the cannot find errors.
These are third party jars. We provide the required
classes using a different mechanism.
Either the jars in lib and are loaded at boot time or
the classes are in a different jar to the one
specified in the manifest.
Regards,
Adrian