Interesting, although I didn't recompile anything.  I have, however, now
been able to reproduce the error. Fortunately/unfortunately, WRT the
"Horrible Error" it seems to be somewhat random. Although when it does
occur, it tends to be infectious.

When it has occurred, it always starts with my attempt at adding/removing
portal subscriptions in the customize section. The relevant request is
http://localhost:8080/jetspeed/portal/action/controls.Customize. This seems
to be consistent. And while it does not always work, refreshing the browser
(<ctrl>r) does occasionally return success.

And while I fully realize that by blazing forward with a CVS extract I am on
the bleeding edge, I would like to submit a couple other notes.

* If I have already subscribed to some portlets (as a user), and if I again
go to the customize/add portlet section, it would be nice to have my current
selections already checked. This probably falls into the "yep, just not
there yet" category.

* However, there is some odd behavior relating to portlet subscriptions
  1) If I clear all portlet subscriptions from my (user) home page (using
the GetRidOfMe "x"), and click Customize > Layout, I still have some
subscriptions appearing. They are
    o xmlhack
    o Apache News
    o Mozilla
    o Slashdot
    o Turbine
    o Turbine screen...
    o XML News...
    o Apache News...

  2) If I then re-add these, they are duplicated in the layout formatting
screen.

  3) Then if I approve the layout and click "Save and Apply," the only
portlet that appears on the page is the "Mozilla" portlet.
  4) click Customize again ( get the "Horrible Exception" a few times) and,
see that there are subscriptions. Then return to the home page lacking the
selected content.

* I also did another test where I did not hide the portlets from the content
pane and then added new portlets.
I did this in two steps.
  1) add some ...
  2) then add some more.

It seems that while I selected a 2 column tabular layout, some of the
portlets wrapped to a phantom third column somewhere inside the second
column of the layout. In addition, when I added returned to the Customize >
Layout section I saw only 8 portlets on the screen. In the content pane I
counted  13.

All the while the console was singing a familiar tune:
    o 2001-08-15 12:34:30 - Ctx( /jetspeed ): IOException in: R( /jetspeed +
/css/default.css + null) Connection aborted by peer: socket write error

* Also, clicking any of the nifty directional switches in the Customize >
Layout pane had no effect. Only one working seems to be the "x" (
GetRidOfMe ) icon.

Cheers
-JP



-----Original Message-----
From: TICE,ED (HP-NewJersey,ex2) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 15, 2001 10:32 AM
To: [EMAIL PROTECTED]
Subject: RE: Horrible Exception


Jonathan,

        Had you recompiled any classes since you started Tomcat?  In tomcat
3.2.x, I have had problems with the AdaptiveClassLoader when I've recompiled
elements of a WAR file while Tomcat is running.  I see the same exception
periodically if I rebuild my webapps without restarting tomcat.  It doesn't
seem to happen for 'simple' apps, only fairly sophisticated ones like
Jetspeed.  I am not sure what the awareness of this is within the Tomcat
team.

Ed

-----Original Message-----
From: Jonathan Porterfield [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 15, 2001 12:31 PM
To: [EMAIL PROTECTED]
Subject: Horrible Exception



Guys,
Just grabed the newest version from CVS. Previously, I've been working with
1.3a1. Love the new stuff, many kudos, keep up the good work.

With my new Jetspeed up and flying, I was browsing and customizing, just
basically "clicking about..." when I got the following "Horrible exception"
:)

I restarted the app server, and was unable to reproduce it immediately.
Therefore this note, just and FYI for our skilled benefactors to use in
debuggering. - Cheers

Error text follows:
<-- Browser displays this exception-->
Horrible Exception: org.apache.jetspeed.om.profile.ProfileException:
java.lang.ClassCastException:
org.apache.jetspeed.om.profile.BasePSMLDocument
        at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(Jet
speedProfilerService.java:310)
        at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(Jet
speedProfilerService.java:336)
        at
org.apache.jetspeed.services.Profiler.getProfile(Profiler.java:121)
        at
org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform(Jetsp
eedSessionValidator.java:126)
        at org.apache.turbine.modules.Action.perform(Action.java:87)
        at
org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
        at org.apache.turbine.Turbine.doGet(Turbine.java:405)
        at org.apache.turbine.Turbine.doPost(Turbine.java:537)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
        at org.apache.tomcat.core.Handler.service(Handler.java:286)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:484)

<-- Console says something else -->
2001-08-15 09:53:52 - Ctx( /jetspeed ): IOException in: R( /jetspeed +
/css/default.css + null) Connection aborted by peer: socket write error



My config
-------------------------------------------
Tomcat 3.2.1
OS = Win 2k
JDK = JDK1.3
CVS as of 08/15/2001 9 AM (ish) PDT


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to