AW: How to specify a JSP Action method

2003-01-22 Thread Jürgen Hoffmann
Hi,

2 different approaches:


Or (from a velocity template should be easily protable to JSP)



One addition considedirn your naming of the action... From a Turbine
Standpoint (eventSubmit naming convention) your Action should be named
eventSubmit_doUpdatesortcol

Thus, the convention is this: 

The variable name MUST have the prefix "eventSubmit_". 
The variable name after the prefix MUST begin with the letters "do". 
The first letter after the "do" will be capitalized and the rest will be
lowercase 

Kind regards

Jürgen Hoffmann
ByteACTION GmbH
 
cert. Perl Programmer
cert. Linux System Administrator
cert. Java Programmer 


-Ursprüngliche Nachricht-
Von: Pierre Henry [mailto:[EMAIL PROTECTED]] 
Gesendet: Mittwoch, 22. Januar 2003 10:10
An: Jetspeed Users List
Betreff: RE: How to specify a JSP Action method


Thank you Jürgen for your answer !

But I can't find out how to put a pathInfo. I tried many combinations
but it didn't work. What exactly is a pathInfo in Jetspee ? (I didn't
find much about it in the
archive)

Please help me out!

Pierre

This is what I tried :
add a hidden file :

  etc.

in the action attribute :

etc.

> -----Original Message-
> From: Jürgen Hoffmann [mailto:[EMAIL PROTECTED]]
> Sent: mercredi, 22. janvier 2003 09:20
> To: 'Jetspeed Users List'
> Subject: AW: How to specify a JSP Action method
> 
> 
> You can put your eventSubmit as a PathInfo ito the action attribute of

> the form element or as another hidden field.
> 
> Kind regards
>  
> Jürgen Hoffmann
> ByteACTION GmbH
>  
> cert. Perl Programmer
> cert. Linux System Administrator
> cert. Java Programmer
> 
> 
> -Ursprüngliche Nachricht-
> Von: Pierre Henry [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 21. Januar 2003 16:50
> An: Jetspeed Users List
> Betreff: RE: How to specify a JSP Action method
> 
> 
> I forgot a line in the javascript function, which is of course :
> columnHeaderForm.submit();
> 
> 
> --
> 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]>




AW: How to specify a JSP Action method

2003-01-22 Thread Jürgen Hoffmann
You can put your eventSubmit as a PathInfo ito the action attribute of
the form element or as another hidden field.

Kind regards
 
Jürgen Hoffmann
ByteACTION GmbH
 
cert. Perl Programmer
cert. Linux System Administrator
cert. Java Programmer 


-Ursprüngliche Nachricht-
Von: Pierre Henry [mailto:[EMAIL PROTECTED]] 
Gesendet: Dienstag, 21. Januar 2003 16:50
An: Jetspeed Users List
Betreff: RE: How to specify a JSP Action method


I forgot a line in the javascript function, which is of course :
columnHeaderForm.submit();


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




AW: AW: AW: Newbie problem

2002-12-20 Thread Jürgen Hoffmann
Hi,

I do not know anything more... I assume build.sh has e'x'ecutable
permissions also. Check the first line to see which interpreter at which
location is called and if it is called correctly. Make sure that if the
File contains CR/LF on the end of each line that you replace those by
using the dos2unix command. Then try to execute it again. Other than
that, I have never experienced anything similar. Only when the partition
or mount point I was working on did not have exec permissions. 

Try to move the source to /usr/src (the place to put source files) and
try to build.sh it from there. Sorry if I cannot help you.

Kind regards
 
Jürgen Hoffmann
ByteACTION GmbH
 
cert. Perl Programmer
cert. Linux System Administrator
cert. Java Programmer 


-Ursprüngliche Nachricht-
Von: Stelian Iancu [mailto:[EMAIL PROTECTED]] 
Gesendet: Freitag, 20. Dezember 2002 18:03
An: Jetspeed Users List
Betreff: Re: AW: AW: Newbie problem


On Fri, 2002-12-20 at 17:46, Jürgen Hoffmann wrote:
> Hi Stelian,
> 
> I have had the same problem before. Do you have the zip file 
> downloaded and installed on a "different mount point". It might be 
> that you can execute /bin/sh no problem if it is on a different moint 
> point than the jetspeed installation.
> 
> budwork:~# mount
> /dev/hda4 on / type ext3 (rw,errors=remount-ro)
> proc on /proc type proc (rw)
> devpts on /dev/pts type devpts (rw,gid=5,mode=620)
> /dev/hda3 on /boot type ext3 (rw)
> /dev/hdb4 on /home/buddy/windows2000 type ext3 
> (rw,noexec,nosuid,nodev)
> 
> Here you see that /home/buddy/windows2000 has no execute permission.
> 
> Kind regards
>  
> Jürgen Hoffmann
> ByteACTION GmbH
>  
> cert. Perl Programmer
> cert. Linux System Administrator
> cert. Java Programmer
> 

I have downloaded and unpacked the .zip in my /home/user dir on the
/home partition. Here is the relevant line from mount:

/dev/hda12 on /home type reiserfs (rw,notail)

and the /

/dev/hda13 on / type reiserfs (rw, notail).

One interesting thing. If I try to execute the script via bash (i.e.
bash build.sh war), I obtain the following:

: command not found
: command not found
: command not found
: command not found
: command not found
: command not found
: command not found
: command not found
: command not found
'uild.sh: line 58: syntax error near unexpected token `do
'uild.sh: line 58: `do

I made in the same directory with build.sh a mock script, test.sh, which
only does a ls -l *.sh and it works. 

I don't understand what's happening.

-- 
Regards,
Stelian I.


--
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]>




AW: AW: Newbie problem

2002-12-20 Thread Jürgen Hoffmann
Hi Stelian,

I have had the same problem before. Do you have the zip file downloaded
and installed on a "different mount point". It might be that you can
execute /bin/sh no problem if it is on a different moint point than the
jetspeed installation.

budwork:~# mount
/dev/hda4 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda3 on /boot type ext3 (rw)
/dev/hdb4 on /home/buddy/windows2000 type ext3 (rw,noexec,nosuid,nodev)

Here you see that /home/buddy/windows2000 has no execute permission. 

Kind regards
 
Jürgen Hoffmann
ByteACTION GmbH
 
cert. Perl Programmer
cert. Linux System Administrator
cert. Java Programmer 


-Ursprüngliche Nachricht-
Von: Stelian Iancu [mailto:[EMAIL PROTECTED]] 
Gesendet: Freitag, 20. Dezember 2002 16:38
An: Jetspeed Users List
Betreff: Re: AW: Newbie problem


On Fri, 2002-12-20 at 12:33, Jürgen Hoffmann wrote:
> Hi Stelian,
> 
> make sure you have exec permissions on the mount point
> 
> Kind regards
>  
> Jürgen Hoffmann
> ByteACTION GmbH
>  
> cert. Perl Programmer
> cert. Linux System Administrator
> cert. Java Programmer
> 

Well, if I execute /bin/sh as a normal user, it works. BTW, I've got
that error even if I tried ./build.sh war as root.

-- 
Regards,
Stelian I.


--
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]>




AW: Newbie problem

2002-12-20 Thread Jürgen Hoffmann
Hi Stelian,

make sure you have exec permissions on the mount point

Kind regards
 
Jürgen Hoffmann
ByteACTION GmbH
 
cert. Perl Programmer
cert. Linux System Administrator
cert. Java Programmer 


-Ursprüngliche Nachricht-
Von: Stelian Iancu [mailto:[EMAIL PROTECTED]] 
Gesendet: Freitag, 20. Dezember 2002 09:46
An: jetspeed
Betreff: Newbie problem


Hello!

I have just downloaded jetspeed 1.4-b3 and I have some problems with the
build process. I downloaded the full war archive. I am using Mandrake
9.0 as an operating system, with sun's jdk 1.4.1 and Tomcat 4.1.12.

When I try to execute build.sh war I get the following error:
: bad interpreter: No such file or directory

The interpreter is /bin/sh (the default, I didn't modify in the build.sh
script) and it is there, in /bin. So I don't understand what the problem
is. 

Any help is appreciated!

Thanks!
-- 
Regards,
Stelian I.


--
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]>




AW: Setting up a second DB in Torque.properties

2002-12-16 Thread Jürgen Hoffmann
Hi,

First in -schema.xml you insert a new





And then you configure it in 

Torque.props

torque.database.newDatabaseName.adapter=mysql

## Using torque's old pool
torque.dsfactory.newDatabaseName.factory=org.apache.torque.dsfactory.Tor
queDataSourceFactory
torque.dsfactory.newDatabaseName.pool.defaultMaxConnections=10
torque.dsfactory.newDatabaseName.pool.maxExpiryTime=3600
torque.dsfactory.newDatabaseName.pool.connectionWaitTimeout=10
torque.dsfactory.newDatabaseName.connection.driver =
org.gjt.mm.mysql.Driver
torque.dsfactory.newDatabaseName.connection.url =
jdbc:mysql://127.0.0.1:3306/dbanme
torque.dsfactory.newDatabaseName.connection.user = username
torque.dsfactory.newDatabaseName.connection.password = password

Kind regasrds
 
Jürgen Hoffmann
ByteACTION GmbH
 
cert. Perl Programmer
cert. Linux System Administrator
cert. Java Programmer 


-Ursprüngliche Nachricht-
Von: Weßling, Achim [mailto:[EMAIL PROTECTED]] 
Gesendet: Montag, 16. Dezember 2002 10:57
An: [EMAIL PROTECTED]
Betreff: Setting up a second DB in Torque.properties


Hallo,

has someone setup Jetspeed to use more than one DB? I just try to figure
out how I've to insert a second DB in Torque.properties, I didn't find
any documentation about it. Thanks!

Mit freundlichem Gruß

Achim Weßling


**
INFOKOM Gütersloh
Fachbereich Technische Anwendungen / Zentrale Anwendungen
Tel.: 05241/85-2926
[EMAIL PROTECTED]
http://www2.infokom-gt.de/produkte


--
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]>




AW: It is possible to refresh Portlets ?

2002-11-28 Thread Jürgen Hoffmann
Hi Christian,

Sorry I have to correct myself. You CAN instruct which method is to be
called if you do the following:

<
img src="yourpic.png" border=0>

This will call the method doMethodname in the class ActionClassName.

Sorry for the double post.

Kind regards
 
Jürgen Hoffmann
ByteACTION GmbH
 
cert. Perl Programmer
cert. Linux System Administrator
cert. Java Programmer 


-Ursprüngliche Nachricht-----
Von: Jürgen Hoffmann [mailto:[EMAIL PROTECTED]] 
Gesendet: Donnerstag, 28. November 2002 11:10
An: 'Jetspeed Users List'
Betreff: AW: It is possible to refresh Portlets ?


Hi Christian,

To refer to actions in hrefs use:



This will result that the doPerform Method of the ActionClass will be
called. If you want to call a certain method, the best bet would be to
supply the method in a parameter and the call this method from
doPerform. The Event Driven Submission (eventSubmit_doMymethod) will
only work in submit buttons.

Hope that helps

Kind regards
 
Jürgen Hoffmann
ByteACTION GmbH
 
cert. Perl Programmer
cert. Linux System Administrator
cert. Java Programmer 


-Ursprüngliche Nachricht-
Von: Heine, Christian (Extern) [mailto:[EMAIL PROTECTED]] 
Gesendet: Donnerstag, 28. November 2002 09:37
An: 'Jetspeed Users List'
Betreff: AW: It is possible to refresh Portlets ?


Hi David,

thx for the help. Strutz TreeView looks nice, but in my organisation we
don't want to implements another ad-on to Jetspeed. This forced me to
make my own TreeView...

I understand the Actions of Turbine, but the Problem is, that i don't
have any Button to execute the action. In ECS (equals in Velocity) i
have an image like a folder which must trigger the action. This image is
placed by an IMG-Tag, where i can't add any action on the way like on
buttons, because i only have a href Attribute. 

I knows that the developer of Jetspeed uses in a special way that i
can't review the href-Attribute to link to the Action like $Action.link
(U can see it in the menu-tab.vm of the control). The Problem i have, is
that i don't know how this link is used as a reference to a real
JAVA-Action-Object...

Christian




-Ursprüngliche Nachricht-
Von: David Sean Taylor [mailto:[EMAIL PROTECTED]]
Gesendet am: Mittwoch, 27. November 2002 19:17
An: Jetspeed Users List
Betreff: RE: It is possible to refresh Portlets ?



> -Original Message-
> From: Heine, Christian (Extern) [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 27, 2002 3:58 AM
> To: 'Jetspeed Users List'
> Subject: It is possible to refresh Portlets ?
>
>
> Hi all,
>
> i try to develop an portlet which is usable like the windows explorer.

> For that i create an AbstractPortlet and using the ECS to define the
> layout. The problem i have is, that i am forced to use actions on the 
> Elements (the folder images).

Dont recommend using ECS, try JSP or Velocity

>
> To realize that actions i can't use real JAVA-Actions like the
> MouseListener because they are ignored by the Turbine-Engine. Now i 
> have tried to use JAVA-Skript elements like onMouseOver to realize 
> some actions. My idea is to
> force jetspeed by this action to refresh the page, analyses the
parameters
> and repaint the table by using the parameters.
>
> The refresh works, but only my portlet is not refreshed and i got the
> following exception message where my portlet is:
>
> org.apache.turbine.util.TurbineException: Error rendering Velocity
> template:
> /controls/html/jetspeed.vm: Invocation of method 'getContent' in class

> org.apache.jetspeed.portal.security.portlets.CacheableStatefulPort
> letWrapper
> threw exception class java.util.NoSuchElementException : null
>
> Where is my failure? Knows anybody a solution or a better way to
> realize actions (perhaps execute real java actions)? In every action i

> must read out some parameters and repaint the explorer-Portlet by
> checking these params...

I believe Struts has a tree view control.
This looks cool, not sure if its part of Jakarta Struts or add-on

http://struts.application-servers.com/tags/treeview.html

Do you know about Turbine actions in Jetspeed?
http://jakarta.apache.org/turbine/turbine-2/howto/action-event-howto.htm
l
http://jakarta.apache.org/turbine/turbine-2/fsd.html



--
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]>



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




AW: It is possible to refresh Portlets ?

2002-11-28 Thread Jürgen Hoffmann
Hi Christian,

To refer to actions in hrefs use:



This will result that the doPerform Method of the ActionClass will be
called. If you want to call a certain method, the best bet would be to
supply the method in a parameter and the call this method from
doPerform. The Event Driven Submission (eventSubmit_doMymethod) will
only work in submit buttons.

Hope that helps

Kind regards
 
Jürgen Hoffmann
ByteACTION GmbH
 
cert. Perl Programmer
cert. Linux System Administrator
cert. Java Programmer 


-Ursprüngliche Nachricht-
Von: Heine, Christian (Extern) [mailto:[EMAIL PROTECTED]] 
Gesendet: Donnerstag, 28. November 2002 09:37
An: 'Jetspeed Users List'
Betreff: AW: It is possible to refresh Portlets ?


Hi David,

thx for the help. Strutz TreeView looks nice, but in my organisation we
don't want to implements another ad-on to Jetspeed. This forced me to
make my own TreeView...

I understand the Actions of Turbine, but the Problem is, that i don't
have any Button to execute the action. In ECS (equals in Velocity) i
have an image like a folder which must trigger the action. This image is
placed by an IMG-Tag, where i can't add any action on the way like on
buttons, because i only have a href Attribute. 

I knows that the developer of Jetspeed uses in a special way that i
can't review the href-Attribute to link to the Action like $Action.link
(U can see it in the menu-tab.vm of the control). The Problem i have, is
that i don't know how this link is used as a reference to a real
JAVA-Action-Object...

Christian




-Ursprüngliche Nachricht-
Von: David Sean Taylor [mailto:[EMAIL PROTECTED]]
Gesendet am: Mittwoch, 27. November 2002 19:17
An: Jetspeed Users List
Betreff: RE: It is possible to refresh Portlets ?



> -Original Message-
> From: Heine, Christian (Extern) [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 27, 2002 3:58 AM
> To: 'Jetspeed Users List'
> Subject: It is possible to refresh Portlets ?
>
>
> Hi all,
>
> i try to develop an portlet which is usable like the windows explorer.

> For that i create an AbstractPortlet and using the ECS to define the 
> layout. The problem i have is, that i am forced to use actions on the 
> Elements (the folder images).

Dont recommend using ECS, try JSP or Velocity

>
> To realize that actions i can't use real JAVA-Actions like the 
> MouseListener because they are ignored by the Turbine-Engine. Now i 
> have tried to use JAVA-Skript elements like onMouseOver to realize 
> some actions. My idea is to
> force jetspeed by this action to refresh the page, analyses the
parameters
> and repaint the table by using the parameters.
>
> The refresh works, but only my portlet is not refreshed and i got the 
> following exception message where my portlet is:
>
> org.apache.turbine.util.TurbineException: Error rendering Velocity 
> template:
> /controls/html/jetspeed.vm: Invocation of method 'getContent' in class

> org.apache.jetspeed.portal.security.portlets.CacheableStatefulPort
> letWrapper
> threw exception class java.util.NoSuchElementException : null
>
> Where is my failure? Knows anybody a solution or a better way to 
> realize actions (perhaps execute real java actions)? In every action i

> must read out some parameters and repaint the explorer-Portlet by 
> checking these params...

I believe Struts has a tree view control.
This looks cool, not sure if its part of Jakarta Struts or add-on

http://struts.application-servers.com/tags/treeview.html

Do you know about Turbine actions in Jetspeed?
http://jakarta.apache.org/turbine/turbine-2/howto/action-event-howto.htm
l
http://jakarta.apache.org/turbine/turbine-2/fsd.html



--
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]>




AW: OJB

2002-11-26 Thread Jürgen Hoffmann
Hi David,

>> Has anyone successfully used OJB as his Persistence Layer in
Jetspeed?

> I started writing a Registry service with OJB. Its in the cvs. Didn't
finish though, ran out of time.

How far have you been from finishing it? Is it worth to continue ist
development or start over?

>> Does anyone know if there are plans on moving to OJB? Turbine will be

>> moving to OJB. Another question. We have developped a full blown 
>> Turbine

> Are you sure that Turbine is moving to OJB or is Torque being merged
with OJB?

I am quit sure 99,9%. I have read an artivle on the OJB Mailing list
written by the creator of OJB that he is in close contact with the
Turbine Guys and that OJB is supposed to replace Torque in the upcoming
Versions of Turbine ( Versions after 2.2 has finally been released ;) ).
As far as I know OJB still use Torque Funtionality for the generation of
Java Skeleton Classes. This could result into merging, but only for this
part, since OJB uses reflection to access the Objects.

>> App. Is it possible to integrate this Application with Jetspeed? Is 
>> there any documentaion that I am overseeing?

>Jetspeed is a Turbine application.
>Not really sure what you want to do.
>If you have velocity templates and actions, they should port easily to
the Velocity portlet. Likewise for JSP templates, porting to the
JSPPortlet. Or you >can just leave your application as is, and proxy it
via an IFramePortlet or WebPagePortlet.

Would that be create a new pane with the Turbine App as a name once
Clicked on use the WebPagePortlet as a Container (Proxy)? This sounds
exactly like the solution I was looking for.

Thanx and kind regards

Juergen Hoffmann


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




AW: Configuring Jetspeed with MySQL

2002-11-26 Thread Jürgen Hoffmann
Hi,

Have followed the instructions on:
http://jakarta.apache.org/jetspeed/site/install.html

Where it says: 

To populate the database, scripts are provided:
/src/sql/external/populate*.sql. Only run the statements for your
specific database as commented.

Kind regards
 
Jürgen Hoffmann
ByteACTION GmbH
 
cert. Perl Programmer
cert. Linux System Administrator
cert. Java Programmer 


-Ursprüngliche Nachricht-
Von: BARDE, CEDRIC [mailto:[EMAIL PROTECTED]] 
Gesendet: Dienstag, 26. November 2002 15:31
An: 'Jetspeed Users List'
Betreff: RE: Configuring Jetspeed with MySQL


Hi again,
I am now having another problem : the JDBC Driver is correct but
Jetspeed cannot retrieve the information for anonymous user. Here is
what I get :

Horrible Exception:
org.apache.jetspeed.services.security.LoginException:
Failed to get anonymous user:
org.apache.jetspeed.services.security.UserException: Failed to retrieve
user
'anon': Connection object is null! at
org.apache.jetspeed.services.security.turbine.TurbineAuthentication.getA
nony
mousUser(TurbineAuthentication.java:194) at
org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser(Jet
spee
dAuthentication.java:107) at
org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(JetspeedS
ecur
ity.java:157) at
org.apache.jetspeed.modules.actions.TemplateSessionValidator.doPerform(T
empl
ateSessionValidator.java:97) at
org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform(J
etsp
eedSessionValidator.java:103) 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:468) at
javax.servlet.http.HttpServlet.service(HttpServlet.java) at
javax.servlet.http.HttpServlet.service(HttpServlet.java) at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:57
4)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at
org.apache.tomcat.core.Handler.service(Handler.java:235) at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
at
org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatch
erIm
pl.java:272) at
org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcher
Impl
.java:174) at
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:4
23)
at index_1._jspService(index_1.java:51) at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at
javax.servlet.http.HttpServlet.service(HttpServlet.java) at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:57
4)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at
org.apache.tomcat.core.Handler.service(Handler.java:235) at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav
a:91
7) at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Htt
p10I
nterceptor.java:176) at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:49
4)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.jav
a:516) at java.lang.Thread.run(Thread.java:479)

Anyone has any idea?
Thanx in advance
Ced
__
Cédric BARDE
Disneyland Resort Paris - Information Services
Bâtiment Robin Hood - BP 100
7 Marne-La-Vallée
Tél : 01 64 74 65 49
Fax : 01 64 74 65 65
Email : [EMAIL PROTECTED]

> -Original Message-
> From: Luta, Raphael  (VUN) [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, November 25, 2002 11:52 AM
> To:   'Jetspeed Users List'
> Subject:  RE: Configuring Jetspeed with MySQL
> 
> Check out
> 
> http://jakarta.apache.org/jetspeed/site/install.html#Database
> Configuration
> 
> Especially the definitions in TurbineResources.properties like 
> database.adaptor.
> 
> > -Message d'origine-
> > De : BARDE, CEDRIC [mailto:[EMAIL PROTECTED]]
> > Envoyé : lundi 25 novembre 2002 11:46
> > À : 'Jetspeed Users'
> > Objet : Configuring Jetspeed with MySQL
> > 
> > 
> > Hi all,
> > 
> > I am trying to make Jetspeed work with a MySQL database and I get 
> > the following error when hitting http://localhost:8080/jetspeed :
> > 
> > Horrible Exception: java.lang.Error: Error in
> > BasePeer.initTableSchema(TURBINE_USER): Unknown JDBC driver:
> > com.mysql.jdbc.Driver: Check your configuration file at 
> > org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.in
> > itClass(BaseTu
> > rbineUserPeer.java:130) at 
> > org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.(B
> > aseTurbineUser
> > Peer.java:109) at 
> > org.apache.jetspeed.services.security.turbine.TurbineUserManag
> > ement.

OJB

2002-11-26 Thread Jürgen Hoffmann
Hi Community,

Has anyone successfully used OJB as his Persistence Layer in Jetspeed?
Does anyone know if there are plans on moving to OJB? Turbine will be
moving to OJB. Another question. We have developped a full blown Turbine
App. Is it possible to integrate this Application with Jetspeed? Is
there any documentaion that I am overseeing?

Kind regards
 
Jürgen Hoffmann
(cert. Java Programmer)
(cert. Perl Programmer)
(cert. Linux Systems Administrator)
 


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




AW: Configuring Jetspeed with MySQL

2002-11-25 Thread Jürgen Hoffmann
Hi,

No the Drivername is correct for mysql connector/j. Please make sure
that you copy the mysql connector/j to the WEB-INF/lib directory and you
do not have any old mysql jars in the classpath, i.e. TOMCAT/lib/common,
etc. I do not know if Torque works well with mysql connector/j. I have
only used it with mm.mysql-2.0.14-bin.jar and with this it worked
perfectly for me.

Hope this helps

Kind regards
 
Jürgen Hoffmann
ByteACTION GmbH
 
cert. Perl Programmer
cert. Linux System Administrator
cert. Java Programmer 


-Ursprüngliche Nachricht-
Von: Raffaele Ragni [mailto:[EMAIL PROTECTED]] 
Gesendet: Montag, 25. November 2002 11:59
An: Jetspeed Users List
Betreff: Re: Configuring Jetspeed with MySQL


The name of your driver seems strange (reading from the error), i know
it has always been org.gjt.mm.mysql.Driver (Probably is it a new version
of it?) Though, as far i can see, it doesn't recognize the driver class,
probably it is a class path problem, or something similar.

Il lun, 2002-11-25 alle 11:46, BARDE, CEDRIC ha scritto:
> Hi all,
> 
> I am trying to make Jetspeed work with a MySQL database and I get the 
> following error when hitting http://localhost:8080/jetspeed :
> 
> Horrible Exception: java.lang.Error: Error in
> BasePeer.initTableSchema(TURBINE_USER): Unknown JDBC driver:
> com.mysql.jdbc.Driver: Check your configuration file at 
> org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.initClass(
> BaseTu
> rbineUserPeer.java:130) at
>
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.(BaseTurbine
User
> Peer.java:109) at
>
org.apache.jetspeed.services.security.turbine.TurbineUserManagement.getU
ser(
> TurbineUserManagement.java:164) at
>
org.apache.jetspeed.services.JetspeedUserManagement.getUser(JetspeedUser
Mana
> gement.java:98) at
>
org.apache.jetspeed.services.security.turbine.TurbineAuthentication.getA
nony
> mousUser(TurbineAuthentication.java:184) at
>
org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser(Jet
spee
> dAuthentication.java:107) at
>
org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(JetspeedS
ecur
> ity.java:157) at
>
org.apache.jetspeed.modules.actions.TemplateSessionValidator.doPerform(T
empl
> ateSessionValidator.java:97) at
>
org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform(J
etsp
> eedSessionValidator.java:103) 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:468) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java) at
>
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:57
4)
> at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at
> org.apache.tomcat.core.Handler.service(Handler.java:235) at
>
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
at
>
org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatch
erIm
> pl.java:272) at
>
org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcher
Impl
> .java:174) at
>
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:4
23)
> at index_1._jspService(index_1.java:51) at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java) at
>
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:57
4)
> at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at
> org.apache.tomcat.core.Handler.service(Handler.java:235) at
>
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav
a:91
> 7) at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
> at
>
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Htt
p10I
> nterceptor.java:176) at
>
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:49
4)
> at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.jav
> a:516) at java.lang.Thread.run(Thread.java:479) 
> 
> The database has been created and populated with the help of the 
> scripts given by Jetspeed, the JDBC driver is installed (the JAR file 
> is in the WEB-INF/lib directory), so I don't understand what the 
> problem could be.
> 
> Thanx in advance for your help!
> Ced
> 
> __
> Cédric BARDE
> Disneyland Resort Paris - Information Services
> Bâtiment Robin Hood - BP 100
> 7 Marne-La-Vallée
> Tél : 01 64 74 65 49
> Fax : 01 64 74 65 65
> Email : [EMAIL PROTECTED]
> 
> 
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL