RE: Multiple Instances of same portlet

2002-02-27 Thread Aurelien Pernoud

Hi Nyo,

as far as I understood it, Jetspeed is not totally ready for multiple
instances of the same portlet.

I'm using the 1.3a3dev version (which as many bugfixes and news), and this
is the way i understood is the best to create multiple instances of one
portlet (in fact this is the only method that is 100% working for me) :

instead of using the type=instance method, you create one abstract portlet
with your class this way :

portlet-entry name=MyAbstractPortlet hidden=false
type=abstract application=false
classnamethe.way.to.your.class.name/classname
media-type ref=html/
/portlet-entry

Then you create portlets of this type by referencing this one, as they did
in the demo portlets with HelloJSP and JSP1_2andJetspeedTagLib.

(type=ref and parent=yourabstractportlet)

for example you create :

portlet-entry name=FirstInstance hidden=false type=ref
parent=MyAbstractPortlet application=false
meta-info
titleFirstInstance of MyAbstractPortlet/title
descriptionFirstInstance of MyAbstractPortlet/description
/meta-info
/portlet-entry
portlet-entry name=SecondInstance hidden=false type=ref
parent=MyAbstractPortlet application=false
meta-info
titleSecondInstance of MyAbstractPortlet/title
descriptionSecondInstance of MyAbstractPortlet/description
/meta-info
/portlet-entry

Jetspeed will only see those two portlets (FirstInstance and
SecondInstance), cause MyAbstractPortlet is abstract...

This is what multiple-refs means.

But it doesn't work well with the cache system, i had issues with portlets
not showing, showing infos of other portlets and so far the only method
i found that perfectly work is to simply disable the cache (even if it's not
good for performance) during the init of the portlet with
setCacheable(false).

It works fine, but if you try to put the same portlet (for example
FirstInstance) in multiple panes then you'll have issues with controls
(minimize will minimize all, customize will customize only one...).

They're working on it to make portlets independant in differents panes, but
so far, the right way to do it is to create as many references to your
abstract portlet as you need to put in your portal.

There is another method described by David Sean Taylor that could prevent
from disabling the cache here :

http://www.mail-archive.com/jetspeed-dev@jakarta.apache.org/msg02378.html

but I didn't test it yet, I'm working on something else.

Hope It helps !

Aurelien Pernoud.
Sopra Group.

PS : I cc: the jetspeed-user ml so that they correct me if I'm wrong.

 -Message d'origine-
 De : Nyo Maw [mailto:[EMAIL PROTECTED]]
 Envoye : lundi 25 fevrier 2002 23:40
 A : [EMAIL PROTECTED]
 Objet : Multiple Instances of same portlet


 Hi Aurelien ,

 How are you doing ? I'm Nyo from NYC. I am a one of
 Jetspeed user too.

 I've seen your discussion about Multiple Instances of
 same portlet jetspeed mailing list. I would like to
 ask you how do u solve it. I am also having the same
 problem of using same portlet as multiple instances on
 different pane. I tried to set (setcacheable(false))
 but it does'nt work out. One thing i dont understand
 in your discussion with David, is multiple-ref .
 What do you mean by that ? How do you do it ?


 Thanks. I really need your help.

 Regards/
 Nyo



 __
 Do You Yahoo!?
 Yahoo! Sports - Coverage of the 2002 Olympic Games
 http://sports.yahoo.com



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




jetspeed weblogic6.0

2002-02-27 Thread Sky Liu

I'm running jetspeed Weblogic 6.0sp2,but i failed!
Has anyone managed to do this?
 
I'm currently trying using the latest cvs source. At start time the server says:
 
Feb 26, 2002 10:26:53 AM CST Error HTTP [HTTP local] Error parsing descri
ptor in Web appplication D:\bea\WebLogic_Application_Server\.\config\local\appl
ications\.wl_temp_do_not_delete\wl_local_comp40360.war
org.xml.sax.SAXParseException: File http://java.sun.com/j2ee/dtds/web-app_2.3.dtd; 
not found.
at weblogic.servlet.internal.dd.DescriptorLoader$1.fatalError(Descriptor
Loader.java:174)
at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java
:1037)
at weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromE
xternalEntity(DefaultEntityHandler.java:796)
at weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromE
xternalSubset(DefaultEntityHandler.java:570)
at weblogic.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTD
Scanner.java:1131)
at weblogic.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(X
MLDocumentScanner.java:2177)
at weblogic.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocum
entScanner.java:2133)
at weblogic.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.
dispatch(XMLDocumentScanner.java:882)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocu
mentScanner.java:380)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
at weblogic.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilder
Impl.java:123)
at weblogic.servlet.internal.dd.DescriptorLoader.init(DescriptorLoader
.java:178)
at weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:4
46)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:404)
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
at weblogic.j2ee.Application.addComponent(Application.java:133)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:327)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:143)
at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServe
r.java:76)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
at $Proxy34.addWebDeployment(Unknown Source)
at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDe
ployment(WebServerMBean_CachingStub.java:1012)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:313)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:143)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBean
s(ConfigurationMBeanImpl.java:409)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:287)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMB
eanImpl.java:866)
at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMB
eanImpl.java:853)
at weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.ja
va:838)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:566)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:285)
at 

RE: jetspeed weblogic6.0

2002-02-27 Thread Michel Bergijk

Hi,

Sun does not have a http://java.sun.com/j2ee/dtds/web-app_2.3.dtd but a
http://java.sun.com/j2ee/dtds/web-app_2.2.dtd. See tthe difference in
version number at the end of the URL¡¯s. Probably this is the problem.

Michel

-Original Message-
From: Sky Liu [mailto:[EMAIL PROTECTED]]
Sent: woensdag 27 februari 2002 9:53
To: [EMAIL PROTECTED]
Subject: jetspeed  weblogic6.0


I'm running jetspeed Weblogic 6.0sp2,but i failed!
Has anyone managed to do this?
 
I'm currently trying using the latest cvs source. At start time the server
says:
 
Feb 26, 2002 10:26:53 AM CST Error HTTP [HTTP local] Error parsing
descri
ptor in Web appplication
D:\bea\WebLogic_Application_Server\.\config\local\appl
ications\.wl_temp_do_not_delete\wl_local_comp40360.war
org.xml.sax.SAXParseException: File
http://java.sun.com/j2ee/dtds/web-app_2.3.dtd; not found.
at
weblogic.servlet.internal.dd.DescriptorLoader$1.fatalError(Descriptor
Loader.java:174)
at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.
java
:1037)
at
weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromE
xternalEntity(DefaultEntityHandler.java:796)
at
weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromE
xternalSubset(DefaultEntityHandler.java:570)
at
weblogic.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTD
Scanner.java:1131)
at
weblogic.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(X
MLDocumentScanner.java:2177)
at
weblogic.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocum
entScanner.java:2133)
at
weblogic.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.
dispatch(XMLDocumentScanner.java:882)
at
weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocu
mentScanner.java:380)
at
weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
at
weblogic.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilder
Impl.java:123)
at
weblogic.servlet.internal.dd.DescriptorLoader.init(DescriptorLoader
.java:178)
at
weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:4
46)
at
weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:404)
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
at weblogic.j2ee.Application.addComponent(Application.java:133)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:327)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:143)
at
weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServe
r.java:76)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:562)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:548)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:285)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
at $Proxy34.addWebDeployment(Unknown Source)
at
weblogic.management.configuration.WebServerMBean_CachingStub.addWebDe
ployment(WebServerMBean_CachingStub.java:1012)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:313)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:143)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:562)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:548)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:285)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at
weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBean
s(ConfigurationMBeanImpl.java:409)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:287)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at
weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMB
eanImpl.java:866)
at
weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMB
eanImpl.java:853)
at

RE: Jetspeed on Weblogic 6.0

2002-02-27 Thread Vipul Lalka

Hey Ryan,

I tried what you suggested. However, I got the following exception:
---
java.io.FileNotFoundException: null/WEB-INF/conf/TurbineResources.properties
(Th
e system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.init(FileInputStream.java:64)
at
org.apache.velocity.runtime.configuration.Configuration.init(Config
uration.java)
at
org.apache.velocity.runtime.configuration.Configuration.init(Config
uration.java)
at
org.apache.turbine.services.resources.TurbineResourceService.init(Tur
bineResourceService.java:165)
at
org.apache.turbine.services.resources.TurbineResourceService.init(Tur
bineResourceService.java:124)
---

This is just the beginning of the stack trace. Did you have to make any
changes to your classpath or path for this to work? Any ideas?

Thanks for your help.

Vipul.

-Original Message-
From: McVeigh, Ryan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 11:07 AM
To: 'Jetspeed Users List'
Subject: RE: Jetspeed on Weblogic 6.0


We were able to get this to work but just unjaring the archive as an
application in your applications directory.  This was done by just creating
a jetspeed directory in that location and putting the contents of the war
file there.

Good luck,

-Ryan

-Original Message-
From: Vipul Lalka [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 9:32 AM
To: Jetspeed Users List
Subject: Jetspeed on Weblogic 6.0

Hello,

I am trying to deploy jetspeed on Weblogic 6.0 sp2. Placing the jetspeed.war
file in the applications directory did NOT work. So, I unjared the entire
war file to the DefaultWebApp directory. I added the jars in the lib
directory to the classpath. However, when I tried to access jetspeed from my
browser (IE), I got the following error in the right-most pane with the
title Apache Jetspeed.

--
Apache Jetspeed
org.apache.turbine.util.TurbineException: Error rendering Velocity template:
/controls/html/jetspeed.vm: Invocation of method 'getContent' in class
org.apache.jetspeed.portal.portlets.NewRSSPortlet threw exception class
java.lang.AbstractMethodError
--

I have noticed a mail about this same error in the archives, however I did
not see a solution. If someone has successfully got this configuration to
work, please help!

Thanks,

Vipul.


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

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


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




Re: Oracle PSML Database

2002-02-27 Thread Chris Kimpton

Hi,

--- Burmeister, Mark [EMAIL PROTECTED] wrote:
 I removed the records that where in the database...

The ones in the db are probably ok - its the psml files that probably
have a problem.

 Now I am getting the following exception in my jetspeed.log
 
 -- DEBUG -- SELECT JETSPEED_USER_PROFILE.PSML_ID,
 JETSPEED_USER_PROFILE.USER_NAME, JETSPEED_USER_PROFILE.MEDIA_TYPE,
 JETSPEED_USER_PROFILE.LANGUAGE, JETSPEED_USER_PROFILE.COUNTRY,
 JETSPEED_USER_PROFILE.PAGE, JETSPEED_USER_PROFILE.PROFILE FROM
 JETSPEED_USER_PROFILE WHERE
 (JETSPEED_USER_PROFILE.USER_NAME='admin')
   -- ERROR -- Error occurred in Database PSML Manager:
 Exception:  java.sql.SQLException: ORA-00904: invalid
 column name
 Stack Trace follows:
 java.sql.SQLException: ORA-00904: invalid column name
 
 
 This column does not exist in this table.  

Which column?

 Any ideas or pointer?  What version of Oracle, tomcat, jetspeed did
 you get
 this PSML to oracle working under.
 Please any help would be much appreciate.

We are using Oracle 815 and 816.  Tomcat 3.3 and 4.0.  Jetspeed -
latest from CVS - for the last couple of months.

HTH,
Chris

=
Need somewhere to Live in London? - Then go to http://freeflats.com

__
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

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




Re: Jetspeed Version

2002-02-27 Thread Chris Kimpton

Hi,

--- Hugh Brien [EMAIL PROTECTED] wrote:
 I have seen several developers referring to Jetspeed version
 1.3a3dev  Where is this version if it exists?  I don't see a tag
 or branch in the CVS tree. If the team released a zip file called
 1.3a3dev why don't we/they create a tag in the CVS tree to match
 it.  That way there is no ambiguity about versions and it makes
 maintaining the a baseline easier.  
 

This is just the latest code in CVS - its the code in CVS now and the
code in CVS tomorrow... until people decide to put a stick in the
ground and actually tag it.  But then people will be referring to
1.3a4devor maybe 1.3b1

HTH,
Chris

=
Need somewhere to Live in London? - Then go to http://freeflats.com

__
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

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




RE: Jetspeed on Weblogic 6.0

2002-02-27 Thread Sakach, Tim

weblogic.jar contains a lot of open source jars, like xerces or xalan, for
example. These are not the most recent versions, and it is possible that
including xerces jar in the classpath could cause problems for weblogic.

-Original Message-
From: Vipul Lalka [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 1:36 PM
To: Jetspeed Users List
Subject: RE: Jetspeed on Weblogic 6.0


I tried this - didn't work. :-(

I also had to put all the jars in the jetspeed/WEB-INF/lib directory in the
classpath to get rid of parsing errors in the weblogic window.

With this method, I got all of the previous errors (TurbineException) plus I
couldn't see a list of my portlets that I had under
jetspeed/WEB-INF/classes. Any ideas?

The AbstractMethodError leads me to believe that there is conflict between
multiple jars for the usage of the getContent() method. However, I have not
yet been able to figure out where.

Thanks,

Vipul.

-Original Message-
From: McVeigh, Ryan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 12:29 PM
To: 'Jetspeed Users List'
Subject: RE: Jetspeed on Weblogic 6.0


Hmm one thing I forgot to mention:

Add the following snippet to your config.xml in your config/domain
directory:

Application Deployed=true Name=jetspeed
Path=.\config\DOMAIN\applications
WebAppComponent Name=jetspeed Targets=YOUR SERVER
URI=jetspeed/
/Application

--

Modify DOMAIN to be your weblogic domain name.
Modify YOUR SERVER to be the name of the weblogic server instance where
you expect this app to be deployed.

--

After all that I have a working Jetspeed install and the
TurbineResources.properties file is found.

I made absolutely no changes to any path or classpath variables.

-Ryan

-Original Message-
From: Vipul Lalka [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 11:22 AM
To: Jetspeed Users List
Subject: RE: Jetspeed on Weblogic 6.0

Hey Ryan,

I tried what you suggested. However, I got the following exception:
---
java.io.FileNotFoundException: null/WEB-INF/conf/TurbineResources.properties
(Th
e system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.init(FileInputStream.java:64)
at
org.apache.velocity.runtime.configuration.Configuration.init(Config
uration.java)
at
org.apache.velocity.runtime.configuration.Configuration.init(Config
uration.java)
at
org.apache.turbine.services.resources.TurbineResourceService.init(Tur
bineResourceService.java:165)
at
org.apache.turbine.services.resources.TurbineResourceService.init(Tur
bineResourceService.java:124)
---

This is just the beginning of the stack trace. Did you have to make any
changes to your classpath or path for this to work? Any ideas?

Thanks for your help.

Vipul.

-Original Message-
From: McVeigh, Ryan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 11:07 AM
To: 'Jetspeed Users List'
Subject: RE: Jetspeed on Weblogic 6.0


We were able to get this to work but just unjaring the archive as an
application in your applications directory.  This was done by just creating
a jetspeed directory in that location and putting the contents of the war
file there.

Good luck,

-Ryan

-Original Message-
From: Vipul Lalka [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 9:32 AM
To: Jetspeed Users List
Subject: Jetspeed on Weblogic 6.0

Hello,

I am trying to deploy jetspeed on Weblogic 6.0 sp2. Placing the jetspeed.war
file in the applications directory did NOT work. So, I unjared the entire
war file to the DefaultWebApp directory. I added the jars in the lib
directory to the classpath. However, when I tried to access jetspeed from my
browser (IE), I got the following error in the right-most pane with the
title Apache Jetspeed.

--
Apache Jetspeed
org.apache.turbine.util.TurbineException: Error rendering Velocity template:
/controls/html/jetspeed.vm: Invocation of method 'getContent' in class
org.apache.jetspeed.portal.portlets.NewRSSPortlet threw exception class
java.lang.AbstractMethodError
--

I have noticed a mail about this same error in the archives, however I did
not see a solution. If someone has successfully got this configuration to
work, please help!

Thanks,

Vipul.



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



PLEASE HELP!! Portlets didn't load!

2002-02-27 Thread Irene Huang

I have Jetspeed1.3a2

I moved all the .jar files from home/webapps/jetspeed-home/WEB-INF/lib
into another directory home/lib
I restart server and only the portlets didn' t load.

**ERROR in jetspeed.log**
Exception:  org.apache.jetspeed.portal.PortletException: PortletFactory:
Unable to load class com.bluesunrise.portal.portlets.HelloUserPortlet

Q: Does Jetspeed have its own class loader?

Q: where can I modify the classpath so jetspeed will look into the
home/lib where I put all the .jar files?


Thank you for the help!!

Irene


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




RE: Jetspeed on Weblogic 6.0

2002-02-27 Thread Vipul Lalka

I tried adding/removing xerces_1_3_1.jar and xalan-2.0.1.jar from the
classpath and putting them before and after weblogic.jar ... all
combinations.

I noticed that unless I add xalan-2.0.1.jar to the classpath, most of the
stuff on the jetspeed page doesn't even show up. The logs give the following
error:
--
Error rendering Velocity template: screens/html/Home.vm: Invocation of
method 'getPane' in  class org.apache.jetspeed.util.template.JetspeedTool
threw exception class java.lang.NoClassDefFoundError
--

As soon as I add xalan-2.0.1.jar to the classpath I get the
AbstractMethodError !!

Are you guys also using Weblogic 6.0 service pack 2 and jetspeed 1.3a2
release? I'm trying to figure out which of the jars that I have might be
causing this problem.

Thanks,

Vipul.

-Original Message-
From: McVeigh, Ryan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 7:03 PM
To: 'Jetspeed Users List'
Subject: RE: Jetspeed on Weblogic 6.0


This is true.  If you must include your own xerces.jar, place it at the
front of the weblogic classpath.  That helps resolve this type of
inconsistency.

-Original Message-
From: Sakach, Tim [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 5:50 PM
To: 'Jetspeed Users List'
Subject: RE: Jetspeed on Weblogic 6.0

weblogic.jar contains a lot of open source jars, like xerces or xalan, for
example. These are not the most recent versions, and it is possible that
including xerces jar in the classpath could cause problems for weblogic.

-Original Message-
From: Vipul Lalka [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 1:36 PM
To: Jetspeed Users List
Subject: RE: Jetspeed on Weblogic 6.0


I tried this - didn't work. :-(

I also had to put all the jars in the jetspeed/WEB-INF/lib directory in the
classpath to get rid of parsing errors in the weblogic window.

With this method, I got all of the previous errors (TurbineException) plus I
couldn't see a list of my portlets that I had under
jetspeed/WEB-INF/classes. Any ideas?

The AbstractMethodError leads me to believe that there is conflict between
multiple jars for the usage of the getContent() method. However, I have not
yet been able to figure out where.

Thanks,

Vipul.

-Original Message-
From: McVeigh, Ryan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 12:29 PM
To: 'Jetspeed Users List'
Subject: RE: Jetspeed on Weblogic 6.0


Hmm one thing I forgot to mention:

Add the following snippet to your config.xml in your config/domain
directory:

Application Deployed=true Name=jetspeed
Path=.\config\DOMAIN\applications
WebAppComponent Name=jetspeed Targets=YOUR SERVER
URI=jetspeed/
/Application

--

Modify DOMAIN to be your weblogic domain name.
Modify YOUR SERVER to be the name of the weblogic server instance where
you expect this app to be deployed.

--

After all that I have a working Jetspeed install and the
TurbineResources.properties file is found.

I made absolutely no changes to any path or classpath variables.

-Ryan

-Original Message-
From: Vipul Lalka [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 11:22 AM
To: Jetspeed Users List
Subject: RE: Jetspeed on Weblogic 6.0

Hey Ryan,

I tried what you suggested. However, I got the following exception:
---
java.io.FileNotFoundException: null/WEB-INF/conf/TurbineResources.properties
(Th
e system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.init(FileInputStream.java:64)
at
org.apache.velocity.runtime.configuration.Configuration.init(Config
uration.java)
at
org.apache.velocity.runtime.configuration.Configuration.init(Config
uration.java)
at
org.apache.turbine.services.resources.TurbineResourceService.init(Tur
bineResourceService.java:165)
at
org.apache.turbine.services.resources.TurbineResourceService.init(Tur
bineResourceService.java:124)
---

This is just the beginning of the stack trace. Did you have to make any
changes to your classpath or path for this to work? Any ideas?

Thanks for your help.

Vipul.

-Original Message-
From: McVeigh, Ryan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 11:07 AM
To: 'Jetspeed Users List'
Subject: RE: Jetspeed on Weblogic 6.0


We were able to get this to work but just unjaring the archive as an
application in your applications directory.  This was done by just creating
a jetspeed directory in that location and putting the contents of the war
file there.

Good luck,

-Ryan

-Original Message-
From: Vipul Lalka [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 9:32 AM
To: Jetspeed Users List
Subject: Jetspeed on Weblogic 6.0

Hello,

I am trying to deploy jetspeed on Weblogic 6.0 sp2. Placing the jetspeed.war
file in the applications directory did NOT work. So, I unjared 

jetspeed on weblogic6.1

2002-02-27 Thread Sky Liu

I'm running jetspeed Weblogic 6.1sp1,but i failed!

Has anyone managed to do this?
 
I'm currently trying using the latest cvs source. At start time the server says:
 
Feb 27, 2002 5:02:30 PM CST Error J2EE Error deploying application jetspe
ed: Could not load jetspeed
java.lang.reflect.UndeclaredThrowableException: java.lang.IllegalArgumentExcepti
on: Prefix string too short
at java.io.File.createTempFile(File.java:1237)
at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper
.java:95)
at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebA
ppServletContext.java:3356)
at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServl
etContext.java:3327)
at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
ext.java:854)
at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCo
ntext.java:807)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:421)
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
at weblogic.j2ee.Application.addComponent(Application.java:160)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:144)
at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServe
r.java:76)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:608)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:592)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:352)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
at $Proxy31.addWebDeployment(Unknown Source)
at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDe
ployment(WebServerMBean_CachingStub.java:1094)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:315)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:279)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:233)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:608)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:592)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:352)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
at $Proxy30.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2734)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:362)
at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:154)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:608)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:592)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:352)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
at $Proxy41.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1151)
at weblogic.management.Admin.finish(Admin.java:570)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:506)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)