ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | enhydra List | December 2004 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [jonas] JOnAS 4.2.2 and Enhydra


Hi Philippe,

<quote>
Can you send me your carol.properties file please ?
It seems that the chosen protocol is not known by jonas.
</quote>

yes, because there are some additions in Enhydra Enterprise
(see the carol.properties below). The point is that I already
put all Enhydra's libs in JOnAS lib... And according
to Slobodan (Enhydra Team) this should be enough...

Thanks a lot for your time!

Lofi.

# carol.properties      1.0 02/07/15
#
# Copyright (C) 2002 - INRIA (www.inria.fr)
#
# CAROL: Common Architecture for RMI ObjectWeb Layer
#
# This library is developed inside the ObjectWeb Consortium,
# http://www.objectweb.org
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
# USA
#

# jonas rmi activation (iiop, jrmp, jeremie, cmi)
carol.protocols=jrmp,conffile,webxmlfile

# RMI JRMP URL
carol.jrmp.url=rmi://localhost:1099

# RMI JEREMIE URL
carol.jeremie.url=jrmi://localhost:2000

# RMI IIOP URL
carol.iiop.url=iiop://localhost:2001


######################################################################
#             Configuration for CMI (clustering)
######################################################################

# java.naming.provider.url property
# For a server : the URL on which the registry will be started
# For clients : lists the registries available
carol.cmi.url=cmi://localhost:2002

# Multicast address used by the registries in the cluster
carol.cmi.multicast.address=224.0.0.35:35467

# IP address or network mask of the local network interface to use to send
# multicast messages
# Needed only when the server has several network interfaces and the multicast
# messages do not go through to interface you want them to use
# Works only on JDK 1.4
#carol.cmi.multicast.itf 192.168.25.0/24

# Groupname for Javagroups. No need to change if don't know.
carol.cmi.multicast.groupname=G1

# Factor used for this server in wheighted round robin algorithms
carol.cmi.rr.factor=100

# If enabled, cluster stubs will print messages on some error cases
carol.cmi.stub.debug=false

# If true, local call with jrmp are optimized. If you get "ClassCastException
# with 2 beans in different jars, you should set it at "false".
carol.jvm.rmi.local.call=false

carol.jndi.java.naming.factory.url.pkgs=org.objectweb.jonas.naming


######################################################################
#                   Configuration for Conf File                      #
######################################################################

# portable remote object delegate class for this protocol (class name with package)
carol.conffile.PortableRemoteObjectClass=org.enhydra.spi.conf.ConfFilePRODelegate

# Name service class for this protocol
carol.conffile.NameServiceClass=org.enhydra.spi.conf.ConfFileRegistry

# here, for jndi we take the jndi.properties but we can make some :
# configuration for rmi jrmp jndi
# java.naming.factory.initial property
carol.conffile.context.factory=org.enhydra.spi.conf.ConfFileInitialContextFactory
# java.naming.provider.url property (only for carol, no importance)
carol.conffile.url=conffile://nohost:0

######################################################################
#                   Configuration for web.xml                        #
######################################################################

# portable remote object delegate class for this protocol (class name with package)
carol.webxmlfile.PortableRemoteObjectClass=org.enhydra.spi.webxml.WebXmlPRODelegate

# Name service class for this protocol
carol.webxmlfile.NameServiceClass=org.enhydra.spi.webxml.WebXmlRegistry

# here, for jndi we take the jndi.properties but we can make some :
# configuration for rmi jrmp jndi
# java.naming.factory.initial property
carol.webxmlfile.context.factory=org.enhydra.spi.webxml.WebXmlInitialContextFactory
# java.naming.provider.url property (only for carol, no importance)
carol.webxmlfile.url=webxmlfile://nohost:0



Philippe Durieux schrieb:
Lofi Dewanto wrote:

To try whether jonas 4.2.2 already fixed the problem with
the classloader I need to be able to run an EE 6 on JOnAS 4.2.2...
(OpenUSS uses EAF from EE 6).

This is what I've done:
1. Install JOnAS 4.2.2 and try to start. OK, no problem.

2. Add all the EE libs to jonas/lib/commons. I took the
whole files from EE 6.0.1 (ee\multiserver\lib\ext\*.*).
Try to run JOnAS, OK no problem.

3. Update the carol.properties for conf and web.xml
for EAF. Run JOnAS -> ERROR:

-------------------------------------------------------------------------

JOnAS error: org.objectweb.jonas.service.ServiceException : Cannot start JMX ser
vice: java.lang.NullPointerException: Null JMXServiceURL string
org.objectweb.jonas.service.ServiceException : Cannot start JMX service: java.la
ng.NullPointerException: Null JMXServiceURL string
at org.objectweb.jonas.jmx.JmxServiceImpl.doStart(JmxServiceImpl.java:21
6)
at org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java:
80)
at org.objectweb.jonas.service.ServiceManager.startJmx(ServiceManager.ja
va:291)
        at org.objectweb.jonas.server.Server.start(Server.java:416)
        at org.objectweb.jonas.server.Server.main(Server.java:174)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:102)
Caused by: java.lang.NullPointerException: Null JMXServiceURL string
at javax.management.remote.JMXServiceURL.<init>(JMXServiceURL.java:39) at org.objectweb.jonas.jmx.JmxServiceImpl.doStart(JmxServiceImpl.java:19
4)
        ... 9 more
JOnAS halting
Exception during execution of org.objectweb.jonas.server.Server : Cannot start J
MX service: java.lang.NullPointerException: Null JMXServiceURL string
org.objectweb.jonas.service.ServiceException : Cannot start JMX service: java.la
ng.NullPointerException: Null JMXServiceURL string
at org.objectweb.jonas.jmx.JmxServiceImpl.doStart(JmxServiceImpl.java:21
6)
at org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java:
80)
at org.objectweb.jonas.service.ServiceManager.startJmx(ServiceManager.ja
va:291)
        at org.objectweb.jonas.server.Server.start(Server.java:416)
        at org.objectweb.jonas.server.Server.main(Server.java:174)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:102)
Caused by: java.lang.NullPointerException: Null JMXServiceURL string
at javax.management.remote.JMXServiceURL.<init>(JMXServiceURL.java:39) at org.objectweb.jonas.jmx.JmxServiceImpl.doStart(JmxServiceImpl.java:19
4)
        ... 9 more

-------------------------------------------------------------------------

It is actually a lot more easier (for me :-)) if JOnAS directly
delivered with Enhydra...

Can someone help me? Thanks!

------------------------------------------------------------------------


Can you send me your carol.properties file please ?
It seems that the chosen protocol is not known by jonas.
   Philippe




--
---------------------------------------------------
Blasius Lofi Dewanto
---------------------------------------------------
OpenUSS - Open University Support System
http://openuss.sourceforge.net
---------------------------------------------------
E-Mail   : dewanto@xxxxxxxxxxxxxxx
---------------------------------------------------




<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.