You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by MShah <mo...@yahoo.com> on 2007/11/01 19:21:53 UTC

Re: Cannot access the geronimo server?

What do I modify in the  server-log4j.properties file to get more information
in the log file?  Could anyone please let me know, as I would like to debug
this further?

Thanks,
Manisha

djencks wrote:
> 
> 
> On Oct 30, 2007, at 4:26 PM, MShah wrote:
> 
>>
>> I have a new install of Geronimo and looks like the server did  
>> start up based
>> on the messages in the console:
>>
>> Booting Geronimo Kernel (in Java 1.5.0_13)...
>> Startup completed in 0.000s seconds
>> Geronimo Application Server started
>>
> 
> The 0.000s seconds suggests that less than the full server started.   
> what did you do?
> 
> Starting using java -Djava.endorsed.dirs=lib/endorsed -javaagent:bin/ 
> jpa.jar -jar bin/server.jar --long usually takes somewhere around  
> 20-30 sec on my laptop.
> 
> there are logs under var/log.  Depending on which geronimo you are  
> using you might need to modify server-log4j.properties in order to  
> get any useful info.
> 
> thanks
> david jencks
>> However I cannot access it using localhost:8080/console.  Is there are
>> geronimo access log that I can possibly look at to debug this.  Any  
>> inputs
>> will be much appreciated as I am fairly new to this.
>>
>> Thanks,
>> Manisha
>> -- 
>> View this message in context: http://www.nabble.com/Cannot-access- 
>> the-geronimo-server--tf4721941s134.html#a13499946
>> Sent from the Apache Geronimo - Users mailing list archive at  
>> Nabble.com.
>>
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Cannot-access-the-geronimo-server--tf4721941s134.html#a13534507
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Cannot access the geronimo server?

Posted by MShah <mo...@yahoo.com>.
Also I cannot start geronimo from the command line.  I get the following
error:


C:\geronimo6_5-2_0_1\bin>java -Djava.endorsed.dirs=lib/endorsed
-javaagent:bin/j
pa.jar -jar bin/server.jar
Unrecognized option: -javaagent:bin/jpa.jar
Could not create the Java virtual machine.


Any tips on resolving this will be appreciated.  I made the changes to the
server log properties file, but there is still no information in the log
file when I start up the server using geronimo.bat file.

Thanks,
Manisha



djencks wrote:
> 
> 
> On Nov 1, 2007, at 11:21 AM, MShah wrote:
> 
>>
>> What do I modify in the  server-log4j.properties file to get more  
>> information
>> in the log file?  Could anyone please let me know, as I would like  
>> to debug
>> this further?
> 
> I think these lines are key, but I haven't figured out how the  
> logging levels they specify interrelate:
> 
> #I think any log messages below INFO are ignored
> log4j.rootLogger=INFO, CONSOLE, FILE
> 
> #I think messages that make it through root logger but are at least  
> this level get into this file
> log4j.appender.FILE.Threshold=TRACE
> 
> hope this helps
> david jencks
> 
>>
>> Thanks,
>> Manisha
>>
>> djencks wrote:
>>>
>>>
>>> On Oct 30, 2007, at 4:26 PM, MShah wrote:
>>>
>>>>
>>>> I have a new install of Geronimo and looks like the server did
>>>> start up based
>>>> on the messages in the console:
>>>>
>>>> Booting Geronimo Kernel (in Java 1.5.0_13)...
>>>> Startup completed in 0.000s seconds
>>>> Geronimo Application Server started
>>>>
>>>
>>> The 0.000s seconds suggests that less than the full server started.
>>> what did you do?
>>>
>>> Starting using java -Djava.endorsed.dirs=lib/endorsed -javaagent:bin/
>>> jpa.jar -jar bin/server.jar --long usually takes somewhere around
>>> 20-30 sec on my laptop.
>>>
>>> there are logs under var/log.  Depending on which geronimo you are
>>> using you might need to modify server-log4j.properties in order to
>>> get any useful info.
>>>
>>> thanks
>>> david jencks
>>>> However I cannot access it using localhost:8080/console.  Is  
>>>> there are
>>>> geronimo access log that I can possibly look at to debug this.  Any
>>>> inputs
>>>> will be much appreciated as I am fairly new to this.
>>>>
>>>> Thanks,
>>>> Manisha
>>>> -- 
>>>> View this message in context: http://www.nabble.com/Cannot-access-
>>>> the-geronimo-server--tf4721941s134.html#a13499946
>>>> Sent from the Apache Geronimo - Users mailing list archive at
>>>> Nabble.com.
>>>>
>>>
>>>
>>>
>>
>> -- 
>> View this message in context: http://www.nabble.com/Cannot-access- 
>> the-geronimo-server--tf4721941s134.html#a13534507
>> Sent from the Apache Geronimo - Users mailing list archive at  
>> Nabble.com.
>>
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Cannot-access-the-geronimo-server--tf4721941s134.html#a13536005
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Cannot access the geronimo server?

Posted by David Jencks <da...@yahoo.com>.
On Nov 1, 2007, at 11:21 AM, MShah wrote:

>
> What do I modify in the  server-log4j.properties file to get more  
> information
> in the log file?  Could anyone please let me know, as I would like  
> to debug
> this further?

I think these lines are key, but I haven't figured out how the  
logging levels they specify interrelate:

#I think any log messages below INFO are ignored
log4j.rootLogger=INFO, CONSOLE, FILE

#I think messages that make it through root logger but are at least  
this level get into this file
log4j.appender.FILE.Threshold=TRACE

hope this helps
david jencks

>
> Thanks,
> Manisha
>
> djencks wrote:
>>
>>
>> On Oct 30, 2007, at 4:26 PM, MShah wrote:
>>
>>>
>>> I have a new install of Geronimo and looks like the server did
>>> start up based
>>> on the messages in the console:
>>>
>>> Booting Geronimo Kernel (in Java 1.5.0_13)...
>>> Startup completed in 0.000s seconds
>>> Geronimo Application Server started
>>>
>>
>> The 0.000s seconds suggests that less than the full server started.
>> what did you do?
>>
>> Starting using java -Djava.endorsed.dirs=lib/endorsed -javaagent:bin/
>> jpa.jar -jar bin/server.jar --long usually takes somewhere around
>> 20-30 sec on my laptop.
>>
>> there are logs under var/log.  Depending on which geronimo you are
>> using you might need to modify server-log4j.properties in order to
>> get any useful info.
>>
>> thanks
>> david jencks
>>> However I cannot access it using localhost:8080/console.  Is  
>>> there are
>>> geronimo access log that I can possibly look at to debug this.  Any
>>> inputs
>>> will be much appreciated as I am fairly new to this.
>>>
>>> Thanks,
>>> Manisha
>>> -- 
>>> View this message in context: http://www.nabble.com/Cannot-access-
>>> the-geronimo-server--tf4721941s134.html#a13499946
>>> Sent from the Apache Geronimo - Users mailing list archive at
>>> Nabble.com.
>>>
>>
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/Cannot-access- 
> the-geronimo-server--tf4721941s134.html#a13534507
> Sent from the Apache Geronimo - Users mailing list archive at  
> Nabble.com.
>


Re: Cannot access the geronimo server?

Posted by MShah <mo...@yahoo.com>.
That was it.  There is a blank config file.

Thanks Jarek.



Jarek Gawor-2 wrote:
> 
> Just a thought, how does your var/config/config.xml file look like?
> Maybe somehow it got corrupted and is pretty much empty or has a few
> modules listed?
> 
> Jarek
> 
> On 11/1/07, MShah <mo...@yahoo.com> wrote:
>>
>> What do I modify in the  server-log4j.properties file to get more
>> information
>> in the log file?  Could anyone please let me know, as I would like to
>> debug
>> this further?
>>
>> Thanks,
>> Manisha
>>
>> djencks wrote:
>> >
>> >
>> > On Oct 30, 2007, at 4:26 PM, MShah wrote:
>> >
>> >>
>> >> I have a new install of Geronimo and looks like the server did
>> >> start up based
>> >> on the messages in the console:
>> >>
>> >> Booting Geronimo Kernel (in Java 1.5.0_13)...
>> >> Startup completed in 0.000s seconds
>> >> Geronimo Application Server started
>> >>
>> >
>> > The 0.000s seconds suggests that less than the full server started.
>> > what did you do?
>> >
>> > Starting using java -Djava.endorsed.dirs=lib/endorsed -javaagent:bin/
>> > jpa.jar -jar bin/server.jar --long usually takes somewhere around
>> > 20-30 sec on my laptop.
>> >
>> > there are logs under var/log.  Depending on which geronimo you are
>> > using you might need to modify server-log4j.properties in order to
>> > get any useful info.
>> >
>> > thanks
>> > david jencks
>> >> However I cannot access it using localhost:8080/console.  Is there are
>> >> geronimo access log that I can possibly look at to debug this.  Any
>> >> inputs
>> >> will be much appreciated as I am fairly new to this.
>> >>
>> >> Thanks,
>> >> Manisha
>> >> --
>> >> View this message in context: http://www.nabble.com/Cannot-access-
>> >> the-geronimo-server--tf4721941s134.html#a13499946
>> >> Sent from the Apache Geronimo - Users mailing list archive at
>> >> Nabble.com.
>> >>
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Cannot-access-the-geronimo-server--tf4721941s134.html#a13534507
>> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Cannot-access-the-geronimo-server--tf4721941s134.html#a13536227
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Cannot access the geronimo server?

Posted by Jarek Gawor <jg...@gmail.com>.
Just a thought, how does your var/config/config.xml file look like?
Maybe somehow it got corrupted and is pretty much empty or has a few
modules listed?

Jarek

On 11/1/07, MShah <mo...@yahoo.com> wrote:
>
> What do I modify in the  server-log4j.properties file to get more information
> in the log file?  Could anyone please let me know, as I would like to debug
> this further?
>
> Thanks,
> Manisha
>
> djencks wrote:
> >
> >
> > On Oct 30, 2007, at 4:26 PM, MShah wrote:
> >
> >>
> >> I have a new install of Geronimo and looks like the server did
> >> start up based
> >> on the messages in the console:
> >>
> >> Booting Geronimo Kernel (in Java 1.5.0_13)...
> >> Startup completed in 0.000s seconds
> >> Geronimo Application Server started
> >>
> >
> > The 0.000s seconds suggests that less than the full server started.
> > what did you do?
> >
> > Starting using java -Djava.endorsed.dirs=lib/endorsed -javaagent:bin/
> > jpa.jar -jar bin/server.jar --long usually takes somewhere around
> > 20-30 sec on my laptop.
> >
> > there are logs under var/log.  Depending on which geronimo you are
> > using you might need to modify server-log4j.properties in order to
> > get any useful info.
> >
> > thanks
> > david jencks
> >> However I cannot access it using localhost:8080/console.  Is there are
> >> geronimo access log that I can possibly look at to debug this.  Any
> >> inputs
> >> will be much appreciated as I am fairly new to this.
> >>
> >> Thanks,
> >> Manisha
> >> --
> >> View this message in context: http://www.nabble.com/Cannot-access-
> >> the-geronimo-server--tf4721941s134.html#a13499946
> >> Sent from the Apache Geronimo - Users mailing list archive at
> >> Nabble.com.
> >>
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Cannot-access-the-geronimo-server--tf4721941s134.html#a13534507
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>