ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | enhydra List | August 2004 Index

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

Re: [enhydra] new to enhydra - 6.0 beta 1 won't start


Hi,
 
You should start configure script (if you don't use setup.exe or rpm installations) in enhydra\enhydra directory to configure and replace all variables in Enhydra installation :
 

Configuring Enhydra
--------------------
To configure the enhydra distribution:
 
cd to '<enhydra_home>/enhydra' directory and type in the following command:
 
configure    (Windows)
 
./configure  (Linux)
 
This command will set default values for 'build.properties' variables and it will configure
installed Enhydra Server according to these parameter values.
 
Configure options
------------------------
 
You can give the following options to the configure command:
- Make build.properties file with default values
configure
 
- Display option screen
configure -help
 
- Set variable values (individually or in group)
configure [-jdk.dir JAVA_HOME] [-ant.dir ANT_HOME] [-port connecting_port]
 [-namingport naming_port] [-servicename service_name] [-username admin_username]
 [-password admin_password]
 
-- Required variables --
In that file, you must specify the following variables:
 
jdk.dir - the path to your installation of the Java Development Kit (obligational
          if environment variable JAVA_HOME isn't (properly) defined).
 
ant.dir - the path to your installation of the Apache Ant (obligational if environment
          variable ANT_HOME isn't (properly) defined).
 
-- Optional variables --
Variables that have their default values defined:
 
port - On which port will a non-SSL HTTP/1.1 Connector be established - Connecting port
       of installed Enhydra Server (default value is '8080').
 
namingport - Enhydra Server RMI JRMP URL port - used for RMI connecting by EnTray
             (default value is '1099').
 
servicename - name of installed Enhydra Server service - please, use one word only
              (default value is 'Enhydra').
 
username - useraname of Enhydra Server Administrator - used for 'jonasAdmin' and
           'tomcatAdmin' application features access. Please, use one word only
           (default value is 'admin').
 
password - password of Enhydra Server Administrator - used for 'jonasAdmin' and 'tomcatAdmin'
           application features access. Please, use one word only (default value is 'enhydra').
 
services - the (':' separated) list of the services launched in the JOnAS Server. All possible
           services are: registry,jmx,security,jtm,mail,dbm,resource,jms,ejb,ws,web,ear.
           + registry,jmx,jtm,ejb are mandatory
           + registry, and than jmx, are automatically started even if not present in the list
           Order in the list is important (see 'Configuring JOnAS services' in JOnAS documentation)
 
For instance:
jdk.dir=C:/j2sdk1.4.1_02
ant.dir=C:/Ant
port=8080
namingport=1099
servicename=Enhydra
username=admin
password=enhydra
services=security:web
 
NOTE: For Linux configuation JAVA_HOME and ANT_HOME environment variable settings are obligate.
I hope it helps,
 
Sinisa Milosevic,
Together Serbia
----- Original Message -----
Sent: Friday, August 20, 2004 12:03 AM
Subject: [enhydra] new to enhydra - 6.0 beta 1 won't start

Hi all,

 

I am new to this list (and enhydra) and have some problems with starting up enhydra 6 beta.

 

I tried both source and binary versions and encounter the same errors:

 

The first one occurs when trying to install the system service:

 

\enhydra\bin\nt\entray.exe

\enhydra\bin\nt\entray.bat

[note \enhydra is the application root]

 

Cannot be found. A search for them only brings up:

 

\enhydra\enhydra\dist\bin\nt\entray.bat.DIST

\enhydra\enhydra\dist\bin\nt\entray.exe.DIST

\enhydra\enhydra\dist\bin\nt\entray.nsi.DIST

 

The second error ist occuring when doing ?jonas start? (while ?jonas check? runs ok):

 

Error during execution of org.objectweb.jonas.server.Server : org.hsqldb.Server.

setLogWriter(Ljava/io/PrintWriter;)V

java.lang.NoSuchMethodError: org.hsqldb.Server.setLogWriter(Ljava/io/PrintWriter

;)V

        at org.objectweb.jonas.db.hsqldb.HsqlDBServiceImpl.initServer(HsqlDBServ

iceImpl.java:102)

        at org.objectweb.jonas.db.AbsDBServiceImpl.doInit(AbsDBServiceImpl.java:

123)

        at org.objectweb.jonas.service.AbsServiceImpl.init(AbsServiceImpl.java:8

4)

        at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManag

er.java:312)

        at org.objectweb.jonas.server.Server.start(Server.java:565)

        at org.objectweb.jonas.server.Server.main(Server.java:169)

        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:90)

 

 

Being totally new to enhydra, I would appreciate some help with this.

 

Thanks in advance,

 

Nils

 



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

Reply via email to:

Powered by MHonArc.

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