Grill, Markus | 1 Jun 11:00 2004
Picon

Re: Problem: Upgrading from 4.2.12 to 4.2.20


Hi,
The demo dump works fine....

So I figured out where exactly my problem is, and without going into detail on my issue I can show you the
problem on the demo dump servlet itself...

Please try this in a jsp-file
...
<jsp:include page="/[whatever]/org.mortbay.servlet.Dump" flush="true"/>
...

You will see that on version 4.2.12 the getPathTranslated-method works fine, on 4.2.20 the result is null
(this is the only difference in the output from the dump servlet)

Thank you
Markus

-----Ursprüngliche Nachricht-----
Von: Greg Wilkins [mailto:gregw <at> mortbay.com] 
Gesendet: Samstag, 29. Mai 2004 00:19
An: jetty-support <at> lists.sourceforge.net
Betreff: Re: Problem: Upgrading from 4.2.12 to 4.2.20

More information is required, as getPathTranslated works for me when using the
dump servlet in Jetty 4.2.20 demo.

Can you give more details about the actual path and how you are running your
war.

(Continue reading)

Marc Boorshtein | 2 Jun 00:02 2004

SSL/Logging Help!!!!!

Hello,

I am trying to get SSL working with jetty.  I created a self signed  
cert and created a SunJSSEListener with the keystore path and  
passwords.  On startup the only message I get is "WARN!! Failed To  
Start".  My first question is how can I get the full exception and  
second is there anything besides a self signed cert, keystore and  
passwords I need to set?  I am running on RedHat WS 3.0 with JDK 1.4.2.

Thanks!
------------------------------------------------------------------------ 
--------------------------
Marc Boorshtein
Sr. Software Engineer, Octet String
marc.boorshtein <at> octetstring.com

-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Jetty-support mailing list
Jetty-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support

Chris Haynes | 2 Jun 11:02 2004
Picon

Re: SSL/Logging Help!!!!!

1) Looks like you've done the right things to set up SSL - but the problem may
be somewhere in the detail (e.g. can the Listener find the keystore file?)

2) Find your Jetty console log. That lists the start-up activities and will show
you what stopped it starting.

3) Post it here if you need help interpreting it

Chris

BTW - I presume Jetty ran OK for you before SSL was added?!

"Marc Boorshtein" asked

> Hello,
>
> I am trying to get SSL working with jetty.  I created a self signed
> cert and created a SunJSSEListener with the keystore path and
> passwords.  On startup the only message I get is "WARN!! Failed To
> Start".  My first question is how can I get the full exception and
> second is there anything besides a self signed cert, keystore and
> passwords I need to set?  I am running on RedHat WS 3.0 with JDK 1.4.2.
>
> Thanks!

-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
(Continue reading)

Marc Boorshtein | 2 Jun 14:26 2004

Re: SSL/Logging Help!!!!!

Actually, the error was mine:)  I had incorrect passwords for the key  
and keystore.  The only thing thats still driving me nuts is the lack  
of detail from the logger.  Worked real well once i got the passwords  
correct though.

------------------------------------------------------------------------ 
--------------------------
Marc Boorshtein
Sr. Software Engineer, Octet String
marc.boorshtein <at> octetstring.com
On Jun 2, 2004, at 4:02 AM, Chris Haynes wrote:

> 1) Looks like you've done the right things to set up SSL - but the  
> problem may
> be somewhere in the detail (e.g. can the Listener find the keystore  
> file?)
>
> 2) Find your Jetty console log. That lists the start-up activities and  
> will show
> you what stopped it starting.
>
> 3) Post it here if you need help interpreting it
>
> Chris
>
> BTW - I presume Jetty ran OK for you before SSL was added?!
>
>
> "Marc Boorshtein" asked
>
(Continue reading)

Chris Haynes | 2 Jun 18:16 2004
Picon

Re: SSL/Logging Help!!!!!

Starting Jetty with the command line options
 -DDEBUG  
and
-DDEBUG_VERBOSE=999
- that should give you more than enough detail!

Chris

"Marc Boorshtein" commented:

> Actually, the error was mine:)  I had incorrect passwords for the key  
> and keystore.  The only thing thats still driving me nuts is the lack  
> of detail from the logger.  Worked real well once i got the passwords  
> correct though.
> 
> ------------------------------------------------------------------------ 
> --------------------------
> Marc Boorshtein
> Sr. Software Engineer, Octet String
> marc.boorshtein <at> octetstring.com
> On Jun 2, 2004, at 4:02 AM, Chris Haynes wrote:
> 
> > 1) Looks like you've done the right things to set up SSL - but the  
> > problem may
> > be somewhere in the detail (e.g. can the Listener find the keystore  
> > file?)
> >
> > 2) Find your Jetty console log. That lists the start-up activities and  
> > will show
> > you what stopped it starting.
(Continue reading)

Marc Boorshtein | 2 Jun 18:29 2004

Re: SSL/Logging Help!!!!!

Jetty's embedded, how would I set that up programatically?

------------------------------------------------------------------------ 
---------------------------
Marc Boorshtein
Sr. Software Engineer, Octet String
marc.boorshtein <at> octetstring.com
(847)-466-1884
On Jun 2, 2004, at 11:16 AM, Chris Haynes wrote:

> Starting Jetty with the command line options
>  -DDEBUG
> and
> -DDEBUG_VERBOSE=999
> - that should give you more than enough detail!
>
> Chris
>
>
> "Marc Boorshtein" commented:
>
>
>> Actually, the error was mine:)  I had incorrect passwords for the key
>> and keystore.  The only thing thats still driving me nuts is the lack
>> of detail from the logger.  Worked real well once i got the passwords
>> correct though.
>>
>> ---------------------------------------------------------------------- 
>> --
>> --------------------------
(Continue reading)

Greg Wilkins | 2 Jun 18:47 2004

Re: Problem: Upgrading from 4.2.12 to 4.2.20


Markus,

welcome to the twilight zone!!!!
When doing an include - it is very unclear what the value of getPathTranslated should be?

Should it be translated to the included path or remain at the requested path???
It is further complicated by the fact that your request looks like it will have
a null pathInfo and thus a null translation.

I would strongly recommend against using getPathTranslated and includes in the same
webapp.  Just get the path elements you want from the path methods or attributes and
then do a getRealPath yourself!

The spec is just to vague for this...

Grill, Markus wrote:
> Hi,
> The demo dump works fine....
> 
> So I figured out where exactly my problem is, and without going into detail on my issue I can show you the
problem on the demo dump servlet itself...
> 
> Please try this in a jsp-file
> ....
> <jsp:include page="/[whatever]/org.mortbay.servlet.Dump" flush="true"/>
> ....
> 
> You will see that on version 4.2.12 the getPathTranslated-method works fine, on 4.2.20 the result is null
(this is the only difference in the output from the dump servlet)
(Continue reading)

Chris Haynes | 2 Jun 18:51 2004
Picon

Re: SSL/Logging Help!!!!!

Two static methods:

org.mortbay.util.Code.setDebug(true);
org.mortbay.util.Code.setVerbose(999);

Chris

"Marc Boorshtein" asked:

> Jetty's embedded, how would I set that up programatically?
> 
> ------------------------------------------------------------------------ 
> ---------------------------
> Marc Boorshtein
> Sr. Software Engineer, Octet String
> marc.boorshtein <at> octetstring.com
> (847)-466-1884
> On Jun 2, 2004, at 11:16 AM, Chris Haynes wrote:
> 
> > Starting Jetty with the command line options
> >  -DDEBUG
> > and
> > -DDEBUG_VERBOSE=999
> > - that should give you more than enough detail!
> >
> > Chris
> >
> >
> > "Marc Boorshtein" commented:
> >
(Continue reading)

Emanuel Pordes | 2 Jun 22:25 2004

org.mortbay.util.Frame triggering core dumps on IBM 1.3.1 JVMs

Hi All,

I have hit this problem both on AIX and Linux with the latest IBM 1.3.1 JVMs
for each respective environment.
From what I know about JVMs, crashes are not supposed to be possible with
simple bytecode and I am not invoking any native code through JNI.
Still, before I take the issue up with IBM $upport, I wanted to verify that
org.mortbay.util.Frame (in extra/jdk1.2) isn't triggering the crash as a
result of some coding defect.
I did notice that org.mortbay.util.Frame under the main src folder has been
replaced/rewritten for JDK 1.4 and no longer includes any synchronization
blocks.

Any help would be greatly appreciated!

Thanks,

Emanuel

********************************************

AIX Environment info:
	AIX 4.3.3 maintenance release 11
	Java131.rte.bin          1.3.1.13    A    Java Runtime Environment
	Java131.rte.lib           1.3.1.13    A    Java Runtime Environment
	Jboss-3.2.3-Jetty-4.2.20 (both compiled with IBM 1.3.1 JDK)

	1XMCURTHDINFO  Current Thread Details
	NULL           ----------------------
	3XMTHREADINFO      "PoolThread-9" (TID:0x300C0318,
(Continue reading)

Markus Grill | 3 Jun 00:08 2004
Picon
Picon

Re: Problem: Upgrading from 4.2.12 to 4.2.20

Greg,
I followed your recommendation, killed this method and implemented my own
version of getPathTranslated...
now i am running on 4.2.20 :)

thank you
m.

"Greg Wilkins" <gregw <at> mortbay.com> schrieb im Newsbeitrag
news:40BE04B6.3070300 <at> mortbay.com...
>
> Markus,
>
> welcome to the twilight zone!!!!
> When doing an include - it is very unclear what the value of
getPathTranslated should be?
>
> Should it be translated to the included path or remain at the requested
path???
> It is further complicated by the fact that your request looks like it will
have
> a null pathInfo and thus a null translation.
>
> I would strongly recommend against using getPathTranslated and includes in
the same
> webapp.  Just get the path elements you want from the path methods or
attributes and
> then do a getRealPath yourself!
>
> The spec is just to vague for this...
(Continue reading)


Gmane