starting EAServer as service

Hi!

I have an EAS 4.1.1 that is started as service on Windows 2000 and a long
classpath...
When I installed the service the classpath was shorted.. Is there any
workaround by having the hole classpath in the registry
without moving the jar files around to have a shorter one?

/Remus


0
Remus
10/19/2005 9:11:12 AM
sybase.easerver.general 7903 articles. 0 followers. Follow

9 Replies
531 Views

Similar Articles

[PageSpeed] 41

I've tryed to put by hand in the registry the BOOTCLASSPATH and CLASSPATH
because jagsrv cut them at 1024 bytes...
But I get now this error.. I guess jagsrv is not able to read the
information from registry anymore...

Oct 19 16:43:40 2005: Java JIT Compiler enabled
Oct 19 16:43:40 2005: Java component debugging disabled
Oct 19 16:43:40 2005: Error occurred during initialization of VM
Oct 19 16:43:40 2005:
Oct 19 16:43:40 2005: java/lang/NoClassDefFoundError: java/lang/Object
Oct 19 16:43:40 2005:
Oct 19 16:43:40 2005: Java VM aborting...
Oct 19 16:43:40 2005: #
Oct 19 16:43:40 2005:
Oct 19 16:43:40 2005: # HotSpot Virtual Machine Error, Internal Error
Oct 19 16:43:40 2005:
Oct 19 16:43:40 2005: # Please report this error at
Oct 19 16:43:40 2005:
Oct 19 16:43:40 2005: # http://java.sun.com/cgi-bin/bugreport.cgi
Oct 19 16:43:40 2005:
Oct 19 16:43:40 2005: #
Oct 19 16:43:40 2005:
Oct 19 16:43:40 2005: # Error ID: 4A4156410E4350500163
Oct 19 16:43:40 2005:
Oct 19 16:43:40 2005: #
Oct 19 16:43:40 2005:
Oct 19 16:43:40 2005: # Problematic Thread:
Oct 19 16:43:40 2005: prio=5 tid=0x1c6b8b8
Oct 19 16:43:40 2005: nid=0x7ec
Oct 19 16:43:40 2005: runnable
Oct 19 16:43:40 2005:
Oct 19 16:43:40 2005:
Oct 19 16:43:40 2005: #
Oct 19 16:43:40 2005:
Oct 19 16:43:40 2005: Java VM aborting...
Oct 19 16:43:40 2005: SEVERE ERROR - failed to access Jaguar/JavaInit

Any clues???

/Remus


<Remus> wrote in message news:43560db0@forums-1-dub...
> Hi!
>
> I have an EAS 4.1.1 that is started as service on Windows 2000 and a long
> classpath...
> When I installed the service the classpath was shorted.. Is there any
> workaround by having the hole classpath in the registry
> without moving the jar files around to have a shorter one?
>
> /Remus
>
>


0
Remus
10/19/2005 2:53:25 PM
Whats wrong with setting the classpath and bootclasspath as environment 
variables.

You might wnat to check that for the jdk version you are trying to run 
the service as that the variables defined in %JAGUAR%\bin\setenv.bat 
that the JDK_xx point to valid locations (ie. the sybase shared directory)

Pete

Remus wrote:
> I've tryed to put by hand in the registry the BOOTCLASSPATH and CLASSPATH
> because jagsrv cut them at 1024 bytes...
> But I get now this error.. I guess jagsrv is not able to read the
> information from registry anymore...
> 
> Oct 19 16:43:40 2005: Java JIT Compiler enabled
> Oct 19 16:43:40 2005: Java component debugging disabled
> Oct 19 16:43:40 2005: Error occurred during initialization of VM
> Oct 19 16:43:40 2005:
> Oct 19 16:43:40 2005: java/lang/NoClassDefFoundError: java/lang/Object
> Oct 19 16:43:40 2005:
> Oct 19 16:43:40 2005: Java VM aborting...
> Oct 19 16:43:40 2005: #
> Oct 19 16:43:40 2005:
> Oct 19 16:43:40 2005: # HotSpot Virtual Machine Error, Internal Error
> Oct 19 16:43:40 2005:
> Oct 19 16:43:40 2005: # Please report this error at
> Oct 19 16:43:40 2005:
> Oct 19 16:43:40 2005: # http://java.sun.com/cgi-bin/bugreport.cgi
> Oct 19 16:43:40 2005:
> Oct 19 16:43:40 2005: #
> Oct 19 16:43:40 2005:
> Oct 19 16:43:40 2005: # Error ID: 4A4156410E4350500163
> Oct 19 16:43:40 2005:
> Oct 19 16:43:40 2005: #
> Oct 19 16:43:40 2005:
> Oct 19 16:43:40 2005: # Problematic Thread:
> Oct 19 16:43:40 2005: prio=5 tid=0x1c6b8b8
> Oct 19 16:43:40 2005: nid=0x7ec
> Oct 19 16:43:40 2005: runnable
> Oct 19 16:43:40 2005:
> Oct 19 16:43:40 2005:
> Oct 19 16:43:40 2005: #
> Oct 19 16:43:40 2005:
> Oct 19 16:43:40 2005: Java VM aborting...
> Oct 19 16:43:40 2005: SEVERE ERROR - failed to access Jaguar/JavaInit
> 
> Any clues???
> 
> /Remus
> 
> 
> <Remus> wrote in message news:43560db0@forums-1-dub...
> 
>>Hi!
>>
>>I have an EAS 4.1.1 that is started as service on Windows 2000 and a long
>>classpath...
>>When I installed the service the classpath was shorted.. Is there any
>>workaround by having the hole classpath in the registry
>>without moving the jar files around to have a shorter one?
>>
>>/Remus
>>
>>
> 
> 
> 
0
Peter
10/19/2005 7:04:29 PM
We have a lot of jar files that has to b in the classpath.
There are two different issues:

1. We had first a long CLASSPATH (for some old reasons beeing a developing
machine...).
The serverstart.bat added new CLASSPATh with the old one and smashing the
environment space bigger than 9000 bytes...
After that the serverstart.bat couldn't be run it anymore.. "The input line
too long.".
There was a document from Microsoft ("How to Specify Additional Environment
Space under Windows NT/2000" at http://support.microsoft.com/?kbid=158141)
but is gone by some reason.. (wonder why!?). They say that the total
environment space can be changed by using ComSpec environment variable ..
but it didn't work for th server.bat line...
So after a while I understod what the problem was and deleted the CLASSPATH
in the system and let serverstart build one... Of course the user_env set or
classes.

Then we hit the second problem.

2. When we run serverstart.bat jagsrv register classpath and boothclasspath
and in the registry
the values are cut up to 1024 bytes.. Everything else are left over. The
length of claspath and bootclasspath is about 2000 bytes each.
This I done it by adding the following in the serverstart.bat at the end:

:jaginstall
REM ****************************************************************
REM ** -install -> Installs the specified server as an NT Service **
REM ****************************************************************
title Jaguar CTS: %ServerName%

echo Call to jagsrv.exe as service installation
call C:\WINNT\system32\cmd.exe /c set >> environment_service.txt
........

So I write everything in environment_service.txt.
Then I saw how big the CLASSPATH and BOOTCLASSPATH should be..
So I took them in some editor and cut them in the middle (for beeing less
than 1024 bytes each).
One I added in registry (using regedit) and the left over added in the
system environment.
I done that for both bootclasspath ans classpath.

I restart the machine and is working fine..

/Remus




"Peter Abbott" <abmannz@yahoo.co.nz> wrote in message
news:435698bd@forums-1-dub...
> Whats wrong with setting the classpath and bootclasspath as environment
> variables.
>
> You might wnat to check that for the jdk version you are trying to run
> the service as that the variables defined in %JAGUAR%\bin\setenv.bat
> that the JDK_xx point to valid locations (ie. the sybase shared directory)
>
> Pete
>
> Remus wrote:
> > I've tryed to put by hand in the registry the BOOTCLASSPATH and
CLASSPATH
> > because jagsrv cut them at 1024 bytes...
> > But I get now this error.. I guess jagsrv is not able to read the
> > information from registry anymore...
> >
> > Oct 19 16:43:40 2005: Java JIT Compiler enabled
> > Oct 19 16:43:40 2005: Java component debugging disabled
> > Oct 19 16:43:40 2005: Error occurred during initialization of VM
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005: java/lang/NoClassDefFoundError: java/lang/Object
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005: Java VM aborting...
> > Oct 19 16:43:40 2005: #
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005: # HotSpot Virtual Machine Error, Internal Error
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005: # Please report this error at
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005: # http://java.sun.com/cgi-bin/bugreport.cgi
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005: #
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005: # Error ID: 4A4156410E4350500163
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005: #
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005: # Problematic Thread:
> > Oct 19 16:43:40 2005: prio=5 tid=0x1c6b8b8
> > Oct 19 16:43:40 2005: nid=0x7ec
> > Oct 19 16:43:40 2005: runnable
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005: #
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005: Java VM aborting...
> > Oct 19 16:43:40 2005: SEVERE ERROR - failed to access Jaguar/JavaInit
> >
> > Any clues???
> >
> > /Remus
> >
> >
> > <Remus> wrote in message news:43560db0@forums-1-dub...
> >
> >>Hi!
> >>
> >>I have an EAS 4.1.1 that is started as service on Windows 2000 and a
long
> >>classpath...
> >>When I installed the service the classpath was shorted.. Is there any
> >>workaround by having the hole classpath in the registry
> >>without moving the jar files around to have a shorter one?
> >>
> >>/Remus
> >>
> >>
> >
> >
> >


0
Remus
10/20/2005 7:37:47 AM
Just playing around with a batch file...
-----------------------------------------------------
@echo off

cls
SETLOCAL

rem set ComSpec=C:\Winnt\System32\cmd.exe /e:2048

set CLASSPATH=0123456789
set BOOTCLASSPATH=0123456789
set counter=183

goto test_counter

:test_counter
if %counter% == 0 goto :end
set /A counter=counter-1
set CLASSPATH=%CLASSPATH%;0123456789
set BOOTCLASSPATH=%BOOTCLASSPATH%;0123456789
echo %counter%
goto test_counter

:end
set CLASSPATH=%CLASSPATH%;012345
set BOOTCLASSPATH=%BOOTCLASSPATH%;01234

echo environment_console
call C:\WINNT\system32\cmd.exe /c set > environment_console.txt
echo Done.
ENDLOCAL
----------------------------------------------------

This shows that the %CLASSPATH% can be around 2030 bytes long... I guess
there are small some differences.. But I didn't figure out...
I have no clue about how to make i bigger in Windows 2000...

/Remus

"Peter Abbott" <abmannz@yahoo.co.nz> wrote in message
news:435698bd@forums-1-dub...
> Whats wrong with setting the classpath and bootclasspath as environment
> variables.
>
> You might wnat to check that for the jdk version you are trying to run
> the service as that the variables defined in %JAGUAR%\bin\setenv.bat
> that the JDK_xx point to valid locations (ie. the sybase shared directory)
>
> Pete
>
> Remus wrote:
> > I've tryed to put by hand in the registry the BOOTCLASSPATH and
CLASSPATH
> > because jagsrv cut them at 1024 bytes...
> > But I get now this error.. I guess jagsrv is not able to read the
> > information from registry anymore...
> >
> > Oct 19 16:43:40 2005: Java JIT Compiler enabled
> > Oct 19 16:43:40 2005: Java component debugging disabled
> > Oct 19 16:43:40 2005: Error occurred during initialization of VM
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005: java/lang/NoClassDefFoundError: java/lang/Object
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005: Java VM aborting...
> > Oct 19 16:43:40 2005: #
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005: # HotSpot Virtual Machine Error, Internal Error
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005: # Please report this error at
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005: # http://java.sun.com/cgi-bin/bugreport.cgi
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005: #
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005: # Error ID: 4A4156410E4350500163
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005: #
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005: # Problematic Thread:
> > Oct 19 16:43:40 2005: prio=5 tid=0x1c6b8b8
> > Oct 19 16:43:40 2005: nid=0x7ec
> > Oct 19 16:43:40 2005: runnable
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005: #
> > Oct 19 16:43:40 2005:
> > Oct 19 16:43:40 2005: Java VM aborting...
> > Oct 19 16:43:40 2005: SEVERE ERROR - failed to access Jaguar/JavaInit
> >
> > Any clues???
> >
> > /Remus
> >
> >
> > <Remus> wrote in message news:43560db0@forums-1-dub...
> >
> >>Hi!
> >>
> >>I have an EAS 4.1.1 that is started as service on Windows 2000 and a
long
> >>classpath...
> >>When I installed the service the classpath was shorted.. Is there any
> >>workaround by having the hole classpath in the registry
> >>without moving the jar files around to have a shorter one?
> >>
> >>/Remus
> >>
> >>
> >
> >
> >



0
Remus
10/20/2005 1:11:25 PM
Instead of modifying batch files there are a couple of other options for 
adding libraries.

1. If the library is relatively static you can add it to the 
%JAGUAR%\java\lib directory and resinstall the service. This will add it 
to the boot and classpath's

2. If the library file is required only within a webapplication and is 
common accross more than one webapp you can place it in the directory 
%JAGUAR%\extensions. This gets added to the classpath when running 
servlets, and compiling jsp which are servlets anyway.

3. Add the required entries to the boot and classpath properties in the 
Jaguar.props file, com.sybase.jaguar.server.jvm.classpath and 
jvm.bootclasspath respectively. The property value can be a comma 
separated list.


We currently use option 1 and 3. We use options 3 so that we can deploy 
ejbjars without having to place third-party libraries into the actual 
ejbjar, (otherwise the IDL generation fails during deployment) and then 
set up the ejbjar (and/or ear) classpath to refer to the third-party 
jars which get placed in the java\classes directory instead of the 
expanded classes from the jar. This helps with classloading issues as 
well. The only reason that classes from deployed ejbjars get expanded 
into the java\classes directory is for IDL generation. We have found 
after deployment we can delete the classes that have been extracted 
since EAServers' classloading loads classes from jars before it checks 
for any extracted class files.

Pete


Remus wrote:
> Just playing around with a batch file...
> -----------------------------------------------------
> @echo off
> 
> cls
> SETLOCAL
> 
> rem set ComSpec=C:\Winnt\System32\cmd.exe /e:2048
> 
> set CLASSPATH=0123456789
> set BOOTCLASSPATH=0123456789
> set counter=183
> 
> goto test_counter
> 
> :test_counter
> if %counter% == 0 goto :end
> set /A counter=counter-1
> set CLASSPATH=%CLASSPATH%;0123456789
> set BOOTCLASSPATH=%BOOTCLASSPATH%;0123456789
> echo %counter%
> goto test_counter
> 
> :end
> set CLASSPATH=%CLASSPATH%;012345
> set BOOTCLASSPATH=%BOOTCLASSPATH%;01234
> 
> echo environment_console
> call C:\WINNT\system32\cmd.exe /c set > environment_console.txt
> echo Done.
> ENDLOCAL
> ----------------------------------------------------
> 
> This shows that the %CLASSPATH% can be around 2030 bytes long... I guess
> there are small some differences.. But I didn't figure out...
> I have no clue about how to make i bigger in Windows 2000...
> 
> /Remus
> 
> "Peter Abbott" <abmannz@yahoo.co.nz> wrote in message
> news:435698bd@forums-1-dub...
> 
>>Whats wrong with setting the classpath and bootclasspath as environment
>>variables.
>>
>>You might wnat to check that for the jdk version you are trying to run
>>the service as that the variables defined in %JAGUAR%\bin\setenv.bat
>>that the JDK_xx point to valid locations (ie. the sybase shared directory)
>>
>>Pete
>>
>>Remus wrote:
>>
>>>I've tryed to put by hand in the registry the BOOTCLASSPATH and
> 
> CLASSPATH
> 
>>>because jagsrv cut them at 1024 bytes...
>>>But I get now this error.. I guess jagsrv is not able to read the
>>>information from registry anymore...
>>>
>>>Oct 19 16:43:40 2005: Java JIT Compiler enabled
>>>Oct 19 16:43:40 2005: Java component debugging disabled
>>>Oct 19 16:43:40 2005: Error occurred during initialization of VM
>>>Oct 19 16:43:40 2005:
>>>Oct 19 16:43:40 2005: java/lang/NoClassDefFoundError: java/lang/Object
>>>Oct 19 16:43:40 2005:
>>>Oct 19 16:43:40 2005: Java VM aborting...
>>>Oct 19 16:43:40 2005: #
>>>Oct 19 16:43:40 2005:
>>>Oct 19 16:43:40 2005: # HotSpot Virtual Machine Error, Internal Error
>>>Oct 19 16:43:40 2005:
>>>Oct 19 16:43:40 2005: # Please report this error at
>>>Oct 19 16:43:40 2005:
>>>Oct 19 16:43:40 2005: # http://java.sun.com/cgi-bin/bugreport.cgi
>>>Oct 19 16:43:40 2005:
>>>Oct 19 16:43:40 2005: #
>>>Oct 19 16:43:40 2005:
>>>Oct 19 16:43:40 2005: # Error ID: 4A4156410E4350500163
>>>Oct 19 16:43:40 2005:
>>>Oct 19 16:43:40 2005: #
>>>Oct 19 16:43:40 2005:
>>>Oct 19 16:43:40 2005: # Problematic Thread:
>>>Oct 19 16:43:40 2005: prio=5 tid=0x1c6b8b8
>>>Oct 19 16:43:40 2005: nid=0x7ec
>>>Oct 19 16:43:40 2005: runnable
>>>Oct 19 16:43:40 2005:
>>>Oct 19 16:43:40 2005:
>>>Oct 19 16:43:40 2005: #
>>>Oct 19 16:43:40 2005:
>>>Oct 19 16:43:40 2005: Java VM aborting...
>>>Oct 19 16:43:40 2005: SEVERE ERROR - failed to access Jaguar/JavaInit
>>>
>>>Any clues???
>>>
>>>/Remus
>>>
>>>
>>><Remus> wrote in message news:43560db0@forums-1-dub...
>>>
>>>
>>>>Hi!
>>>>
>>>>I have an EAS 4.1.1 that is started as service on Windows 2000 and a
> 
> long
> 
>>>>classpath...
>>>>When I installed the service the classpath was shorted.. Is there any
>>>>workaround by having the hole classpath in the registry
>>>>without moving the jar files around to have a shorter one?
>>>>
>>>>/Remus
>>>>
>>>>
>>>
>>>
>>>
> 
> 
> 
0
Peter
10/20/2005 7:15:00 PM
Thanks Peter.

Option 1. is no solution for Windows 2000 because the registry can accept
max 1024 bytes for CLASSPATH or BOOTCLASSPATH.
So easiest way is like I found in a thread from 2003 that some
libraryes/classes can be added in the custom classpath on EAServer (Jaguar
properties/Java Classes) or for Packages/Webapplications/Components.. same
property... This will make a clean Jaguar service install and the classes
will be loaded after starting.
In Windows 2000 the biggest line for environment I guess is 2044 form my
tests... I tested teh same batch file in Windows XP but there was no problem
there. About it's registry I don't know right now but I will test that soon.

/Remus

"Peter Abbott" <abmannz@yahoo.co.nz> wrote in message
news:4357ecb4@forums-1-dub...
> Instead of modifying batch files there are a couple of other options for
> adding libraries.
>
> 1. If the library is relatively static you can add it to the
> %JAGUAR%\java\lib directory and resinstall the service. This will add it
> to the boot and classpath's
>
> 2. If the library file is required only within a webapplication and is
> common accross more than one webapp you can place it in the directory
> %JAGUAR%\extensions. This gets added to the classpath when running
> servlets, and compiling jsp which are servlets anyway.
>
> 3. Add the required entries to the boot and classpath properties in the
> Jaguar.props file, com.sybase.jaguar.server.jvm.classpath and
> jvm.bootclasspath respectively. The property value can be a comma
> separated list.
>
>
> We currently use option 1 and 3. We use options 3 so that we can deploy
> ejbjars without having to place third-party libraries into the actual
> ejbjar, (otherwise the IDL generation fails during deployment) and then
> set up the ejbjar (and/or ear) classpath to refer to the third-party
> jars which get placed in the java\classes directory instead of the
> expanded classes from the jar. This helps with classloading issues as
> well. The only reason that classes from deployed ejbjars get expanded
> into the java\classes directory is for IDL generation. We have found
> after deployment we can delete the classes that have been extracted
> since EAServers' classloading loads classes from jars before it checks
> for any extracted class files.
>
> Pete
>
>
> Remus wrote:
> > Just playing around with a batch file...
> > -----------------------------------------------------
> > @echo off
> >
> > cls
> > SETLOCAL
> >
> > rem set ComSpec=C:\Winnt\System32\cmd.exe /e:2048
> >
> > set CLASSPATH=0123456789
> > set BOOTCLASSPATH=0123456789
> > set counter=183
> >
> > goto test_counter
> >
> > :test_counter
> > if %counter% == 0 goto :end
> > set /A counter=counter-1
> > set CLASSPATH=%CLASSPATH%;0123456789
> > set BOOTCLASSPATH=%BOOTCLASSPATH%;0123456789
> > echo %counter%
> > goto test_counter
> >
> > :end
> > set CLASSPATH=%CLASSPATH%;012345
> > set BOOTCLASSPATH=%BOOTCLASSPATH%;01234
> >
> > echo environment_console
> > call C:\WINNT\system32\cmd.exe /c set > environment_console.txt
> > echo Done.
> > ENDLOCAL
> > ----------------------------------------------------
> >
> > This shows that the %CLASSPATH% can be around 2030 bytes long... I guess
> > there are small some differences.. But I didn't figure out...
> > I have no clue about how to make i bigger in Windows 2000...
> >
> > /Remus
> >
> > "Peter Abbott" <abmannz@yahoo.co.nz> wrote in message
> > news:435698bd@forums-1-dub...
> >
> >>Whats wrong with setting the classpath and bootclasspath as environment
> >>variables.
> >>
> >>You might wnat to check that for the jdk version you are trying to run
> >>the service as that the variables defined in %JAGUAR%\bin\setenv.bat
> >>that the JDK_xx point to valid locations (ie. the sybase shared
directory)
> >>
> >>Pete
> >>
> >>Remus wrote:
> >>
> >>>I've tryed to put by hand in the registry the BOOTCLASSPATH and
> >
> > CLASSPATH
> >
> >>>because jagsrv cut them at 1024 bytes...
> >>>But I get now this error.. I guess jagsrv is not able to read the
> >>>information from registry anymore...
> >>>
> >>>Oct 19 16:43:40 2005: Java JIT Compiler enabled
> >>>Oct 19 16:43:40 2005: Java component debugging disabled
> >>>Oct 19 16:43:40 2005: Error occurred during initialization of VM
> >>>Oct 19 16:43:40 2005:
> >>>Oct 19 16:43:40 2005: java/lang/NoClassDefFoundError: java/lang/Object
> >>>Oct 19 16:43:40 2005:
> >>>Oct 19 16:43:40 2005: Java VM aborting...
> >>>Oct 19 16:43:40 2005: #
> >>>Oct 19 16:43:40 2005:
> >>>Oct 19 16:43:40 2005: # HotSpot Virtual Machine Error, Internal Error
> >>>Oct 19 16:43:40 2005:
> >>>Oct 19 16:43:40 2005: # Please report this error at
> >>>Oct 19 16:43:40 2005:
> >>>Oct 19 16:43:40 2005: # http://java.sun.com/cgi-bin/bugreport.cgi
> >>>Oct 19 16:43:40 2005:
> >>>Oct 19 16:43:40 2005: #
> >>>Oct 19 16:43:40 2005:
> >>>Oct 19 16:43:40 2005: # Error ID: 4A4156410E4350500163
> >>>Oct 19 16:43:40 2005:
> >>>Oct 19 16:43:40 2005: #
> >>>Oct 19 16:43:40 2005:
> >>>Oct 19 16:43:40 2005: # Problematic Thread:
> >>>Oct 19 16:43:40 2005: prio=5 tid=0x1c6b8b8
> >>>Oct 19 16:43:40 2005: nid=0x7ec
> >>>Oct 19 16:43:40 2005: runnable
> >>>Oct 19 16:43:40 2005:
> >>>Oct 19 16:43:40 2005:
> >>>Oct 19 16:43:40 2005: #
> >>>Oct 19 16:43:40 2005:
> >>>Oct 19 16:43:40 2005: Java VM aborting...
> >>>Oct 19 16:43:40 2005: SEVERE ERROR - failed to access Jaguar/JavaInit
> >>>
> >>>Any clues???
> >>>
> >>>/Remus
> >>>
> >>>
> >>><Remus> wrote in message news:43560db0@forums-1-dub...
> >>>
> >>>
> >>>>Hi!
> >>>>
> >>>>I have an EAS 4.1.1 that is started as service on Windows 2000 and a
> >
> > long
> >
> >>>>classpath...
> >>>>When I installed the service the classpath was shorted.. Is there any
> >>>>workaround by having the hole classpath in the registry
> >>>>without moving the jar files around to have a shorter one?
> >>>>
> >>>>/Remus
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >
> >
> >


0
Remus
10/21/2005 9:01:05 AM
I am still unsure why you need to add things to the windows registry? I 
dont think I have ever had to use the registry to get easerver working.

In the serverstart.bat file it builds the classpath and bootclasspath 
using parts (EAS_CLASSPATH_P1...P9) and then adds them together at 
runtime. There is even a comment to say the reason it is doing it 
because .bat files can only accept 1024 characters.

What is it you are trying to achieve by adding stuff to the windows 
registry?

Pete

Remus wrote:
> Thanks Peter.
> 
> Option 1. is no solution for Windows 2000 because the registry can accept
> max 1024 bytes for CLASSPATH or BOOTCLASSPATH.
> So easiest way is like I found in a thread from 2003 that some
> libraryes/classes can be added in the custom classpath on EAServer (Jaguar
> properties/Java Classes) or for Packages/Webapplications/Components.. same
> property... This will make a clean Jaguar service install and the classes
> will be loaded after starting.
> In Windows 2000 the biggest line for environment I guess is 2044 form my
> tests... I tested teh same batch file in Windows XP but there was no problem
> there. About it's registry I don't know right now but I will test that soon.
> 
> /Remus
> 
> "Peter Abbott" <abmannz@yahoo.co.nz> wrote in message
> news:4357ecb4@forums-1-dub...
> 
>>Instead of modifying batch files there are a couple of other options for
>>adding libraries.
>>
>>1. If the library is relatively static you can add it to the
>>%JAGUAR%\java\lib directory and resinstall the service. This will add it
>>to the boot and classpath's
>>
>>2. If the library file is required only within a webapplication and is
>>common accross more than one webapp you can place it in the directory
>>%JAGUAR%\extensions. This gets added to the classpath when running
>>servlets, and compiling jsp which are servlets anyway.
>>
>>3. Add the required entries to the boot and classpath properties in the
>>Jaguar.props file, com.sybase.jaguar.server.jvm.classpath and
>>jvm.bootclasspath respectively. The property value can be a comma
>>separated list.
>>
>>
>>We currently use option 1 and 3. We use options 3 so that we can deploy
>>ejbjars without having to place third-party libraries into the actual
>>ejbjar, (otherwise the IDL generation fails during deployment) and then
>>set up the ejbjar (and/or ear) classpath to refer to the third-party
>>jars which get placed in the java\classes directory instead of the
>>expanded classes from the jar. This helps with classloading issues as
>>well. The only reason that classes from deployed ejbjars get expanded
>>into the java\classes directory is for IDL generation. We have found
>>after deployment we can delete the classes that have been extracted
>>since EAServers' classloading loads classes from jars before it checks
>>for any extracted class files.
>>
>>Pete
>>
>>
>>Remus wrote:
>>
>>>Just playing around with a batch file...
>>>-----------------------------------------------------
>>>@echo off
>>>
>>>cls
>>>SETLOCAL
>>>
>>>rem set ComSpec=C:\Winnt\System32\cmd.exe /e:2048
>>>
>>>set CLASSPATH=0123456789
>>>set BOOTCLASSPATH=0123456789
>>>set counter=183
>>>
>>>goto test_counter
>>>
>>>:test_counter
>>>if %counter% == 0 goto :end
>>>set /A counter=counter-1
>>>set CLASSPATH=%CLASSPATH%;0123456789
>>>set BOOTCLASSPATH=%BOOTCLASSPATH%;0123456789
>>>echo %counter%
>>>goto test_counter
>>>
>>>:end
>>>set CLASSPATH=%CLASSPATH%;012345
>>>set BOOTCLASSPATH=%BOOTCLASSPATH%;01234
>>>
>>>echo environment_console
>>>call C:\WINNT\system32\cmd.exe /c set > environment_console.txt
>>>echo Done.
>>>ENDLOCAL
>>>----------------------------------------------------
>>>
>>>This shows that the %CLASSPATH% can be around 2030 bytes long... I guess
>>>there are small some differences.. But I didn't figure out...
>>>I have no clue about how to make i bigger in Windows 2000...
>>>
>>>/Remus
>>>
>>>"Peter Abbott" <abmannz@yahoo.co.nz> wrote in message
>>>news:435698bd@forums-1-dub...
>>>
>>>
>>>>Whats wrong with setting the classpath and bootclasspath as environment
>>>>variables.
>>>>
>>>>You might wnat to check that for the jdk version you are trying to run
>>>>the service as that the variables defined in %JAGUAR%\bin\setenv.bat
>>>>that the JDK_xx point to valid locations (ie. the sybase shared
> 
> directory)
> 
>>>>Pete
>>>>
>>>>Remus wrote:
>>>>
>>>>
>>>>>I've tryed to put by hand in the registry the BOOTCLASSPATH and
>>>
>>>CLASSPATH
>>>
>>>
>>>>>because jagsrv cut them at 1024 bytes...
>>>>>But I get now this error.. I guess jagsrv is not able to read the
>>>>>information from registry anymore...
>>>>>
>>>>>Oct 19 16:43:40 2005: Java JIT Compiler enabled
>>>>>Oct 19 16:43:40 2005: Java component debugging disabled
>>>>>Oct 19 16:43:40 2005: Error occurred during initialization of VM
>>>>>Oct 19 16:43:40 2005:
>>>>>Oct 19 16:43:40 2005: java/lang/NoClassDefFoundError: java/lang/Object
>>>>>Oct 19 16:43:40 2005:
>>>>>Oct 19 16:43:40 2005: Java VM aborting...
>>>>>Oct 19 16:43:40 2005: #
>>>>>Oct 19 16:43:40 2005:
>>>>>Oct 19 16:43:40 2005: # HotSpot Virtual Machine Error, Internal Error
>>>>>Oct 19 16:43:40 2005:
>>>>>Oct 19 16:43:40 2005: # Please report this error at
>>>>>Oct 19 16:43:40 2005:
>>>>>Oct 19 16:43:40 2005: # http://java.sun.com/cgi-bin/bugreport.cgi
>>>>>Oct 19 16:43:40 2005:
>>>>>Oct 19 16:43:40 2005: #
>>>>>Oct 19 16:43:40 2005:
>>>>>Oct 19 16:43:40 2005: # Error ID: 4A4156410E4350500163
>>>>>Oct 19 16:43:40 2005:
>>>>>Oct 19 16:43:40 2005: #
>>>>>Oct 19 16:43:40 2005:
>>>>>Oct 19 16:43:40 2005: # Problematic Thread:
>>>>>Oct 19 16:43:40 2005: prio=5 tid=0x1c6b8b8
>>>>>Oct 19 16:43:40 2005: nid=0x7ec
>>>>>Oct 19 16:43:40 2005: runnable
>>>>>Oct 19 16:43:40 2005:
>>>>>Oct 19 16:43:40 2005:
>>>>>Oct 19 16:43:40 2005: #
>>>>>Oct 19 16:43:40 2005:
>>>>>Oct 19 16:43:40 2005: Java VM aborting...
>>>>>Oct 19 16:43:40 2005: SEVERE ERROR - failed to access Jaguar/JavaInit
>>>>>
>>>>>Any clues???
>>>>>
>>>>>/Remus
>>>>>
>>>>>
>>>>><Remus> wrote in message news:43560db0@forums-1-dub...
>>>>>
>>>>>
>>>>>
>>>>>>Hi!
>>>>>>
>>>>>>I have an EAS 4.1.1 that is started as service on Windows 2000 and a
>>>
>>>long
>>>
>>>
>>>>>>classpath...
>>>>>>When I installed the service the classpath was shorted.. Is there any
>>>>>>workaround by having the hole classpath in the registry
>>>>>>without moving the jar files around to have a shorter one?
>>>>>>
>>>>>>/Remus
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>>
> 
> 
0
Peter
10/24/2005 7:18:14 PM
never heard about the one with bat files and 1024 bytes. I think it is the
registry value in Windows 2000 that cannot be bigger than 1024 bytes.
So if your system classpath variable + the classpath build by
serverstart.bat file is bigger than 1024 then it will be cuted when added at
registry.
This if you want to run the server as service and need to run the
serverstart.bat file with -install option.
Maybe I wasn't clear before about my intentions :)

/Remus

"Peter Abbott" <abmannz@yahoo.co.nz> wrote in message
news:435d326f$1@forums-2-dub...
> I am still unsure why you need to add things to the windows registry? I
> dont think I have ever had to use the registry to get easerver working.
>
> In the serverstart.bat file it builds the classpath and bootclasspath
> using parts (EAS_CLASSPATH_P1...P9) and then adds them together at
> runtime. There is even a comment to say the reason it is doing it
> because .bat files can only accept 1024 characters.
>
> What is it you are trying to achieve by adding stuff to the windows
> registry?
>
> Pete
>
> Remus wrote:
> > Thanks Peter.
> >
> > Option 1. is no solution for Windows 2000 because the registry can
accept
> > max 1024 bytes for CLASSPATH or BOOTCLASSPATH.
> > So easiest way is like I found in a thread from 2003 that some
> > libraryes/classes can be added in the custom classpath on EAServer
(Jaguar
> > properties/Java Classes) or for Packages/Webapplications/Components..
same
> > property... This will make a clean Jaguar service install and the
classes
> > will be loaded after starting.
> > In Windows 2000 the biggest line for environment I guess is 2044 form my
> > tests... I tested teh same batch file in Windows XP but there was no
problem
> > there. About it's registry I don't know right now but I will test that
soon.
> >
> > /Remus
> >
> > "Peter Abbott" <abmannz@yahoo.co.nz> wrote in message
> > news:4357ecb4@forums-1-dub...
> >
> >>Instead of modifying batch files there are a couple of other options for
> >>adding libraries.
> >>
> >>1. If the library is relatively static you can add it to the
> >>%JAGUAR%\java\lib directory and resinstall the service. This will add it
> >>to the boot and classpath's
> >>
> >>2. If the library file is required only within a webapplication and is
> >>common accross more than one webapp you can place it in the directory
> >>%JAGUAR%\extensions. This gets added to the classpath when running
> >>servlets, and compiling jsp which are servlets anyway.
> >>
> >>3. Add the required entries to the boot and classpath properties in the
> >>Jaguar.props file, com.sybase.jaguar.server.jvm.classpath and
> >>jvm.bootclasspath respectively. The property value can be a comma
> >>separated list.
> >>
> >>
> >>We currently use option 1 and 3. We use options 3 so that we can deploy
> >>ejbjars without having to place third-party libraries into the actual
> >>ejbjar, (otherwise the IDL generation fails during deployment) and then
> >>set up the ejbjar (and/or ear) classpath to refer to the third-party
> >>jars which get placed in the java\classes directory instead of the
> >>expanded classes from the jar. This helps with classloading issues as
> >>well. The only reason that classes from deployed ejbjars get expanded
> >>into the java\classes directory is for IDL generation. We have found
> >>after deployment we can delete the classes that have been extracted
> >>since EAServers' classloading loads classes from jars before it checks
> >>for any extracted class files.
> >>
> >>Pete
> >>
> >>
> >>Remus wrote:
> >>
> >>>Just playing around with a batch file...
> >>>-----------------------------------------------------
> >>>@echo off
> >>>
> >>>cls
> >>>SETLOCAL
> >>>
> >>>rem set ComSpec=C:\Winnt\System32\cmd.exe /e:2048
> >>>
> >>>set CLASSPATH=0123456789
> >>>set BOOTCLASSPATH=0123456789
> >>>set counter=183
> >>>
> >>>goto test_counter
> >>>
> >>>:test_counter
> >>>if %counter% == 0 goto :end
> >>>set /A counter=counter-1
> >>>set CLASSPATH=%CLASSPATH%;0123456789
> >>>set BOOTCLASSPATH=%BOOTCLASSPATH%;0123456789
> >>>echo %counter%
> >>>goto test_counter
> >>>
> >>>:end
> >>>set CLASSPATH=%CLASSPATH%;012345
> >>>set BOOTCLASSPATH=%BOOTCLASSPATH%;01234
> >>>
> >>>echo environment_console
> >>>call C:\WINNT\system32\cmd.exe /c set > environment_console.txt
> >>>echo Done.
> >>>ENDLOCAL
> >>>----------------------------------------------------
> >>>
> >>>This shows that the %CLASSPATH% can be around 2030 bytes long... I
guess
> >>>there are small some differences.. But I didn't figure out...
> >>>I have no clue about how to make i bigger in Windows 2000...
> >>>
> >>>/Remus
> >>>
> >>>"Peter Abbott" <abmannz@yahoo.co.nz> wrote in message
> >>>news:435698bd@forums-1-dub...
> >>>
> >>>
> >>>>Whats wrong with setting the classpath and bootclasspath as
environment
> >>>>variables.
> >>>>
> >>>>You might wnat to check that for the jdk version you are trying to run
> >>>>the service as that the variables defined in %JAGUAR%\bin\setenv.bat
> >>>>that the JDK_xx point to valid locations (ie. the sybase shared
> >
> > directory)
> >
> >>>>Pete
> >>>>
> >>>>Remus wrote:
> >>>>
> >>>>
> >>>>>I've tryed to put by hand in the registry the BOOTCLASSPATH and
> >>>
> >>>CLASSPATH
> >>>
> >>>
> >>>>>because jagsrv cut them at 1024 bytes...
> >>>>>But I get now this error.. I guess jagsrv is not able to read the
> >>>>>information from registry anymore...
> >>>>>
> >>>>>Oct 19 16:43:40 2005: Java JIT Compiler enabled
> >>>>>Oct 19 16:43:40 2005: Java component debugging disabled
> >>>>>Oct 19 16:43:40 2005: Error occurred during initialization of VM
> >>>>>Oct 19 16:43:40 2005:
> >>>>>Oct 19 16:43:40 2005: java/lang/NoClassDefFoundError:
java/lang/Object
> >>>>>Oct 19 16:43:40 2005:
> >>>>>Oct 19 16:43:40 2005: Java VM aborting...
> >>>>>Oct 19 16:43:40 2005: #
> >>>>>Oct 19 16:43:40 2005:
> >>>>>Oct 19 16:43:40 2005: # HotSpot Virtual Machine Error, Internal Error
> >>>>>Oct 19 16:43:40 2005:
> >>>>>Oct 19 16:43:40 2005: # Please report this error at
> >>>>>Oct 19 16:43:40 2005:
> >>>>>Oct 19 16:43:40 2005: # http://java.sun.com/cgi-bin/bugreport.cgi
> >>>>>Oct 19 16:43:40 2005:
> >>>>>Oct 19 16:43:40 2005: #
> >>>>>Oct 19 16:43:40 2005:
> >>>>>Oct 19 16:43:40 2005: # Error ID: 4A4156410E4350500163
> >>>>>Oct 19 16:43:40 2005:
> >>>>>Oct 19 16:43:40 2005: #
> >>>>>Oct 19 16:43:40 2005:
> >>>>>Oct 19 16:43:40 2005: # Problematic Thread:
> >>>>>Oct 19 16:43:40 2005: prio=5 tid=0x1c6b8b8
> >>>>>Oct 19 16:43:40 2005: nid=0x7ec
> >>>>>Oct 19 16:43:40 2005: runnable
> >>>>>Oct 19 16:43:40 2005:
> >>>>>Oct 19 16:43:40 2005:
> >>>>>Oct 19 16:43:40 2005: #
> >>>>>Oct 19 16:43:40 2005:
> >>>>>Oct 19 16:43:40 2005: Java VM aborting...
> >>>>>Oct 19 16:43:40 2005: SEVERE ERROR - failed to access Jaguar/JavaInit
> >>>>>
> >>>>>Any clues???
> >>>>>
> >>>>>/Remus
> >>>>>
> >>>>>
> >>>>><Remus> wrote in message news:43560db0@forums-1-dub...
> >>>>>
> >>>>>
> >>>>>
> >>>>>>Hi!
> >>>>>>
> >>>>>>I have an EAS 4.1.1 that is started as service on Windows 2000 and a
> >>>
> >>>long
> >>>
> >>>
> >>>>>>classpath...
> >>>>>>When I installed the service the classpath was shorted.. Is there
any
> >>>>>>workaround by having the hole classpath in the registry
> >>>>>>without moving the jar files around to have a shorter one?
> >>>>>>
> >>>>>>/Remus
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>
> >>>
> >
> >


0
Remus
10/25/2005 7:41:55 AM
Peter Abbott wrote:
> I am still unsure why you need to add things to the windows registry? I 
> dont think I have ever had to use the registry to get easerver working.

When you install as a service it grabs all the classpath and 
bootclasspath info and puts it into the registry. Hence if 
you added a JAR to your server then you need to reinstall 
the service.

Running command line, as you pointed out, computes all this 
stuff when run.

a.


> In the serverstart.bat file it builds the classpath and bootclasspath 
> using parts (EAS_CLASSPATH_P1...P9) and then adds them together at 
> runtime. There is even a comment to say the reason it is doing it 
> because .bat files can only accept 1024 characters.
> 
> What is it you are trying to achieve by adding stuff to the windows 
> registry?
> 
> Pete
> 
> Remus wrote:
> 
>> Thanks Peter.
>>
>> Option 1. is no solution for Windows 2000 because the registry can accept
>> max 1024 bytes for CLASSPATH or BOOTCLASSPATH.
>> So easiest way is like I found in a thread from 2003 that some
>> libraryes/classes can be added in the custom classpath on EAServer 
>> (Jaguar
>> properties/Java Classes) or for Packages/Webapplications/Components.. 
>> same
>> property... This will make a clean Jaguar service install and the classes
>> will be loaded after starting.
>> In Windows 2000 the biggest line for environment I guess is 2044 form my
>> tests... I tested teh same batch file in Windows XP but there was no 
>> problem
>> there. About it's registry I don't know right now but I will test that 
>> soon.
>>
>> /Remus
>>
>> "Peter Abbott" <abmannz@yahoo.co.nz> wrote in message
>> news:4357ecb4@forums-1-dub...
>>
>>> Instead of modifying batch files there are a couple of other options for
>>> adding libraries.
>>>
>>> 1. If the library is relatively static you can add it to the
>>> %JAGUAR%\java\lib directory and resinstall the service. This will add it
>>> to the boot and classpath's
>>>
>>> 2. If the library file is required only within a webapplication and is
>>> common accross more than one webapp you can place it in the directory
>>> %JAGUAR%\extensions. This gets added to the classpath when running
>>> servlets, and compiling jsp which are servlets anyway.
>>>
>>> 3. Add the required entries to the boot and classpath properties in the
>>> Jaguar.props file, com.sybase.jaguar.server.jvm.classpath and
>>> jvm.bootclasspath respectively. The property value can be a comma
>>> separated list.
>>>
>>>
>>> We currently use option 1 and 3. We use options 3 so that we can deploy
>>> ejbjars without having to place third-party libraries into the actual
>>> ejbjar, (otherwise the IDL generation fails during deployment) and then
>>> set up the ejbjar (and/or ear) classpath to refer to the third-party
>>> jars which get placed in the java\classes directory instead of the
>>> expanded classes from the jar. This helps with classloading issues as
>>> well. The only reason that classes from deployed ejbjars get expanded
>>> into the java\classes directory is for IDL generation. We have found
>>> after deployment we can delete the classes that have been extracted
>>> since EAServers' classloading loads classes from jars before it checks
>>> for any extracted class files.
>>>
>>> Pete
>>>
>>>
>>> Remus wrote:
>>>
>>>> Just playing around with a batch file...
>>>> -----------------------------------------------------
>>>> @echo off
>>>>
>>>> cls
>>>> SETLOCAL
>>>>
>>>> rem set ComSpec=C:\Winnt\System32\cmd.exe /e:2048
>>>>
>>>> set CLASSPATH=0123456789
>>>> set BOOTCLASSPATH=0123456789
>>>> set counter=183
>>>>
>>>> goto test_counter
>>>>
>>>> :test_counter
>>>> if %counter% == 0 goto :end
>>>> set /A counter=counter-1
>>>> set CLASSPATH=%CLASSPATH%;0123456789
>>>> set BOOTCLASSPATH=%BOOTCLASSPATH%;0123456789
>>>> echo %counter%
>>>> goto test_counter
>>>>
>>>> :end
>>>> set CLASSPATH=%CLASSPATH%;012345
>>>> set BOOTCLASSPATH=%BOOTCLASSPATH%;01234
>>>>
>>>> echo environment_console
>>>> call C:\WINNT\system32\cmd.exe /c set > environment_console.txt
>>>> echo Done.
>>>> ENDLOCAL
>>>> ----------------------------------------------------
>>>>
>>>> This shows that the %CLASSPATH% can be around 2030 bytes long... I 
>>>> guess
>>>> there are small some differences.. But I didn't figure out...
>>>> I have no clue about how to make i bigger in Windows 2000...
>>>>
>>>> /Remus
>>>>
>>>> "Peter Abbott" <abmannz@yahoo.co.nz> wrote in message
>>>> news:435698bd@forums-1-dub...
>>>>
>>>>
>>>>> Whats wrong with setting the classpath and bootclasspath as 
>>>>> environment
>>>>> variables.
>>>>>
>>>>> You might wnat to check that for the jdk version you are trying to run
>>>>> the service as that the variables defined in %JAGUAR%\bin\setenv.bat
>>>>> that the JDK_xx point to valid locations (ie. the sybase shared
>>
>>
>> directory)
>>
>>>>> Pete
>>>>>
>>>>> Remus wrote:
>>>>>
>>>>>
>>>>>> I've tryed to put by hand in the registry the BOOTCLASSPATH and
>>>>
>>>>
>>>> CLASSPATH
>>>>
>>>>
>>>>>> because jagsrv cut them at 1024 bytes...
>>>>>> But I get now this error.. I guess jagsrv is not able to read the
>>>>>> information from registry anymore...
>>>>>>
>>>>>> Oct 19 16:43:40 2005: Java JIT Compiler enabled
>>>>>> Oct 19 16:43:40 2005: Java component debugging disabled
>>>>>> Oct 19 16:43:40 2005: Error occurred during initialization of VM
>>>>>> Oct 19 16:43:40 2005:
>>>>>> Oct 19 16:43:40 2005: java/lang/NoClassDefFoundError: 
>>>>>> java/lang/Object
>>>>>> Oct 19 16:43:40 2005:
>>>>>> Oct 19 16:43:40 2005: Java VM aborting...
>>>>>> Oct 19 16:43:40 2005: #
>>>>>> Oct 19 16:43:40 2005:
>>>>>> Oct 19 16:43:40 2005: # HotSpot Virtual Machine Error, Internal Error
>>>>>> Oct 19 16:43:40 2005:
>>>>>> Oct 19 16:43:40 2005: # Please report this error at
>>>>>> Oct 19 16:43:40 2005:
>>>>>> Oct 19 16:43:40 2005: # http://java.sun.com/cgi-bin/bugreport.cgi
>>>>>> Oct 19 16:43:40 2005:
>>>>>> Oct 19 16:43:40 2005: #
>>>>>> Oct 19 16:43:40 2005:
>>>>>> Oct 19 16:43:40 2005: # Error ID: 4A4156410E4350500163
>>>>>> Oct 19 16:43:40 2005:
>>>>>> Oct 19 16:43:40 2005: #
>>>>>> Oct 19 16:43:40 2005:
>>>>>> Oct 19 16:43:40 2005: # Problematic Thread:
>>>>>> Oct 19 16:43:40 2005: prio=5 tid=0x1c6b8b8
>>>>>> Oct 19 16:43:40 2005: nid=0x7ec
>>>>>> Oct 19 16:43:40 2005: runnable
>>>>>> Oct 19 16:43:40 2005:
>>>>>> Oct 19 16:43:40 2005:
>>>>>> Oct 19 16:43:40 2005: #
>>>>>> Oct 19 16:43:40 2005:
>>>>>> Oct 19 16:43:40 2005: Java VM aborting...
>>>>>> Oct 19 16:43:40 2005: SEVERE ERROR - failed to access Jaguar/JavaInit
>>>>>>
>>>>>> Any clues???
>>>>>>
>>>>>> /Remus
>>>>>>
>>>>>>
>>>>>> <Remus> wrote in message news:43560db0@forums-1-dub...
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Hi!
>>>>>>>
>>>>>>> I have an EAS 4.1.1 that is started as service on Windows 2000 and a
>>>>
>>>>
>>>> long
>>>>
>>>>
>>>>>>> classpath...
>>>>>>> When I installed the service the classpath was shorted.. Is there 
>>>>>>> any
>>>>>>> workaround by having the hole classpath in the registry
>>>>>>> without moving the jar files around to have a shorter one?
>>>>>>>
>>>>>>> /Remus
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>
>>
0
Adam
10/25/2005 11:44:40 AM
Reply:

Similar Artilces:

EAserver to Easerver calls
We have a central server that makes calls to other jaguar servers located on different machines. If the calling component uses transactions, then whenever it connects to a component on another system we get errors in the server log in regards to invalid transactions (see below for actual error) on both the calling and called servers. These errors cause a rollback in the calling component. The code in the called component executes properly. If we set the transaction type to 'not supported' all works well, but we lose the ability to take advantage of EAServer's transactio...

Changing EAServer to start in JDK 1.4 as Windows service
Hello, How can I change my EAServer 5.2 to start with JDK 1.4 rather than JDK 1.3 Regards Open a command prompt; Navigate to %JAGUAR%\bin; Type serverstart.bat -uninstall Type serverstart.bat -jdk14 -install -- Paul Horan[TeamSybase] "Zarowich" <howardwong@loyaltex.com> wrote in message news:43bf44d4$1@forums-2-dub... > Hello, > > How can I change my EAServer 5.2 to start with JDK 1.4 rather than JDK 1.3 > > Regards > Paul Horan[TeamSybase] wrote: > Open a command prompt; > Navigate to %JAGUAR%\bin; > Type serve...

easerver as a service
Hi All, I configure a new server with EAS 4.2 (advanced licences), Windows 2000 server and a DB SQLAnywhere. Components are developed whith PB 7.0.3. I try to use EAS as a NT Service, so run "severstart -install". Because service stop at log off, add -Xrs to java option in the server properties as specified by Sybase documentation. Everything is OK during the test when I'm the only user. I try with 5 users working and then I have problems. Connection to the DB are not valid afte a few times!!! I stop the service and start in consol mode. No problem!!! Any id...

Cannot start EAServer
Hello, My Easerver cannot be started all of a sudden. The server.log has the following message: Jun 19 16:07:20 2003: SRVLIB Message: 16240/10/0: Net-Library routine net_listen(jtang1 9000) failed in srv__start_listeners Network error: status = 23 - Net-Lib protocol driver call to register a listener failed My easerver version is 4.2 (Build 42012) and running on windows XP professional edition. Any ideas? Thanks, Jimmy Are you sure the server hasn't already been started as a service? Have you possibly disconnected from your network and now have no ip address? Cars...

Nt Service start fails EAServer 3.6.1 (JDK12)
Hi, I try to start the Jaguar Server as a NT service but it fails every time. If start the server with ther serverstart_jdk12.bat it works fine. How I've read in other postings, I've set the bootclasspath, classpath and path like they were set up in the batch file as registry keys. Thereafter I deleted the bootclasspath, classpath and path keys in the registry and add them to the system (user) enviroment. All that doesn't help. Have anybody an idea what I can still do ???? Enviroment: Nt 4.0 Servicepack 6 Jaguar 3.6.1 build 361008 BOOTCLASSPATH=.;D:\Sybase\Jaguar C...

EAServer 4.2.2 not start as service after upgrade from 4.2.0
Hello, All! After upgrade 4.2.0 to 4.2.2 EAServer can't start as service In System Event log 2 event 7000 - The "Jaguar" service failed to start due to the following error ... 7009 - Timeout (30000 ms) waiting for service to connect. Start trought serverstart.bat is normal. Where problem? With best regards, Alexey Danilov. E-mail: dan@pharm.mos.ru Did you reinstall the service? Try deleting the service and re-adding it. Or check the classpaths defined for the service in the registry and make sure they match the batch file. D "Alexey Danilov&quo...

EAServer
How about a version of jaguar that doesn't crash every 10min when your developping. And while you're at it, how about speeding up the damn thing! Cause jaguar is a great tool, but every now and then it REALY gets up your spine !!! :-) Well this group is for PowerBuilder discussions, but what version are you using? Mine (4.0 and 4.1) haven't crashed once. As for speeding it up, what do you have in mind? I find it pretty fast already for the things I do. Regards, Dave Fish [TeamSybase] On Thu, 21 Mar 2002 12:02:44 +0100, "De Permentier Davy" <...

Failure when starting EAServer
Hi there, When I'm trying to start one of my EAservers it somes with an error like this: *** An error occured in operating the Jaguar Server Please check the console and server logfile. *** Jaguar.log: May 28 14:51:37 2002: Sybase Enterprise Application Server(Developer Edition).This version of Enterprise Application Server(TM) is licensed solely for development purposes. Any other use of software, including but not limited to production use or use on a webserver is strictly prohibited.Deployment licenses may be obtained from Sybase, Inc. for a fee. May 28 14:51:...

How to get started with EAServer .... ?
I am absolutely new to EAServer and would love to get started.( I am not new to PB). Can somebody please please suggest how/where to get started ? Is it available as freeware ? Many thanks in advance, Ganesh I highly recommend downloading and following the Web Datawindow tutorial from SDN. It explains everything very well and when you get to the end, you look back and realize just how easy it is to get going with this stuff. Of course it gets more complicated than that afterward, but that's why you have Dave Wolf and Carson Hager (among others) in this forum. This newsgroup is...

EAServer fails to start
hi. my easerver runs smoothy before, but in these few days whenever i start it up. It shows : memory address 000x00... error, address cannot be 'read'. i try to resintall easerver but fails, any advice ??? TIA Check out the release notes/installation guide for the topic on JAGUAR_RANDOMSEED, that may help here. Basically, you set up an environemnt variable with that name and set it's value to a file that contains 'random' data. On 28 Jun 2004 02:44:34 -0700, Herbert wrote: >hi. >my easerver runs smoothy before, but in these few days >whenever...

EAServer wont start
When I try to start the easerver 4.2 I get the following error: jagsrv.exe Entry Point Not Found The procedure entry point JagIIOPStream_regetServiceContextList could not be located in the dynamic link library (libjcc.dll) Anyone know what could have caused this to occur? You have multiple copies of libjcc.dll on you machine. Make sure the EASErver/dll directory is in the path before other directories that may contain libjcc.dll. Better yet, eliminate your multiple copies. On 14 Jul 2004 02:13:02 -0700, david wrote: >When I try to start the easerver 4.2 I get the fol...

EAServer running as service
Hi I running EAServer 4.1.3 on win2000, service pack 2. My WebApp run pb components, the problem is when run EAServer as service. The reports (with Datawindows) don't work, but when EAServer run as console app everything work. You can help me? Sorry bad english In article <E8936AC31210149B006D6DCB85256C85.006D6DF285256C85 @webforums>, Luis_Cortes says... > My WebApp run pb components, the problem is when run EAServer as service. > The reports (with Datawindows) don't work, but when EAServer run as console > app everything work. Is there any err...

LDAP service in EAServer
Hi, Is there a way to set up LDAP service in EAServer? How Easerver 4.0 supports LDAP? I remember reading something about LDAP in Jaguar on this site, but I couldn't find anything specific in the Manual or here in the newsgroups. Did somebody have an experience with setting up LDAP server and integrating it with Jaguar, or setting up LDAP service inside Jaguar? Natalya. If you are looking to do authentication and/or authorization based on data in an LDAP server, you would write a combination of CtsSecurity::AuthService and CtsSecurity::AuthenticationService. The first...

Cannot start EAServer Manager
Hi, I am new to EAServer. I recently installed EAServer 5.0 on my machine Windows 2000 Server Prof. Now i cannot connect to EAServer Manager from Sybase Central. I am using all the default parameters. The error message i am getting is " org.omg.CORBA.COMM_FAILURE:katsiclient26:9000- Connection refused katsiclinet26:9000-java.net.ConnectException:Connection refused:connect minor code:0 completed:No. " katsiclinet26 is my machine name. Please HELP!!. Thanks P.V.Kumar Is the listener set up to katsiclient26? Also are you using the default jagadmin userid wi...

Web resources about - starting EAServer as service - sybase.easerver.general

Roberto Hernández (starting pitcher) - Wikipedia, the free encyclopedia
... professional baseball pitcher for the Philadelphia Phillies of Major League Baseball . He was a regular part of the Cleveland Indians ' starting ...

Wikipedia:Starting an article - Wikipedia, the free encyclopedia
This is a page about writing a new article, not the place to actually write it! If you would like to experiment, please use the sandbox or your ...

Facebook Page Admins Will Be Able To See Which Admins Wrote Posts, Comments Starting Feb. 20
... several page administrators , and there is currently no way to tell which admin was responsible for posts on the page. This may change starting ...

KSL 5 TV - Programming Note: Starting this fall, KSL is... - Facebook
Programming Note: Starting this fall, KSL is pleased to welcome Saturday Night Live to its weekly line-up, on Saturday nights at 10:30. More ...

ImplementingScrum - Starting Tough Conversations about Software Development
Scrum Cartoons. Scrum Teams are made up of a ScrumMaster, Product Owner & Team Members. Start those difficult conversations today.

Facebook Employees Selling Stock Starting November 1
Facebook’s plan to let employees sell vested shares at a $4 billion valuation to outside investors is going into effect November 1, Valleywag ...

Starting Blocks (@sblocks) on Twitter
Sign in Sign up To bring you Twitter, we and our partners use cookies on our and other websites. Cookies help personalize Twitter content, tailor ...

Starting Anew
... At some point in your career, maybe you too have made the life-altering decision to start anew. If so, you know firsthand how exciting, Starting ...

Starting a Business with Venture Capital for iPhone 3GS, iPhone 4, iPhone 4S, iPod touch (3rd generation) ...
Read reviews, get customer ratings, see screenshots, and learn more about Starting a Business with Venture Capital on the App Store. Download ...

Apple’s News app features a nice addition starting in iOS 9.2
The Apple News app is offering a notable new feature starting with iOS 9.2 ,which officially arrived to the public earlier today. As first noted ...

Resources last updated: 12/15/2015 7:13:19 AM