[opencms-dev] Re: Re: Re: User/Webuser login (Jens Rickhoff)

Jens Rickhoff jens at visualteam.de
Thu Aug 14 16:59:01 CEST 2003


Armen,

oh I see, so you haven't used JSP for the actual login.
Yes, I would be very interested in how I can achieve
this by using XML templates.

Thanks a lot,

Jens

----- Original Message -----
From: "Armen Markarian" <markarian at inexweb.de>
To: <opencms-dev at opencms.org>
Sent: Thursday, August 14, 2003 4:27 PM
Subject: [opencms-dev] Re: Re: Re: User/Webuser login (Jens Rickhoff)


> Hi Jens,
>
> Exactly for a week, i was searching for an java-method such loginUser()
> ... To get access to my jsp-sites, but i didn`t found any way to handle
> this. So i decided to use the opencms-login-template and customize this.
> If you are searching for a possibility in JSP? I have to pass :(
> otherway i would likely show you how it's doing with the xml-templates
>
> Regards
>
> Armen
>
> -----Ursprüngliche Nachricht-----
> Von: opencms-dev-admin at opencms.org
> [mailto:opencms-dev-admin at opencms.org] Im Auftrag von
> opencms-dev-request at opencms.org
> Gesendet: Donnerstag, 14. August 2003 15:18
> An: opencms-dev at opencms.org
> Betreff: opencms-dev digest, Vol 1 #363 - 7 msgs
>
>
> Send opencms-dev mailing list submissions to
> opencms-dev at opencms.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> or, via email, send a message with subject or body 'help' to
> opencms-dev-request at opencms.org
>
> You can reach the person managing the list at
> opencms-dev-admin at opencms.org
>
> When replying, please edit your Subject line so it is more specific than
> "Re: Contents of opencms-dev digest..."
>
>
> Today's Topics:
>
>    1. Re: User/Webuser login (Armen Markarian)
>    2. Re: Re: User/Webuser login (Jens Rickhoff)
>    3. IDE Integrated Debugging... (Joachim Arrasz)
>    4. Help please: Setting the StartProject of an user (Armen Markarian)
>    5. LUCENE on Oracle with Oci driver (Ivan Jelenic)
>    6. RE: IDE Integrated Debugging... (John Mohr)
>    7. RE: IDE Integrated Debugging... (Joachim Arrasz)
>
> --__--__--
>
> Message: 1
> From: "Armen Markarian" <markarian at inexweb.de>
> To: <opencms-dev at opencms.org>
> Date: Thu, 14 Aug 2003 11:51:21 +0200
> Subject: [opencms-dev] Re: User/Webuser login
> Reply-To: opencms-dev at opencms.org
>
> Hi Jens, how did u created the user? Via JSP or over the workplace? If u
> created the user via JSP use the cmsObj.addImportUser() method and set
> the Additional-Hashtable
>
> See at the following code:
>
> Hashtable additionalInfos =3D new Hashtable();
> additionalInfos.put(I_CmsConstants.C_ADDITIONAL_INFO_TOWN,"Neuss");
> additionalInfos.put(I_CmsConstants.C_ADDITIONAL_INFO_ZIPCODE,"41460");
>
> try
> {
> // create a new cms user
> CmsUser createdUser =3D
> cmsObj.addImportUser(username,cmsObj.digest(newPWD),cmsObj.digest(confir
> mPWD),telefon,firstname,lastname,email,0,additionalInfos,defaultUserGrou
> p,adress,section,type);
> }
> catch (Throwable t){
> =09 System.out.println("PRJ-HOTELSUITE-HCC-ADMIN-USERDATA-CHILD-RESULT
> (CREATE USER): " + t);
> String searchStr =3D "Duplicate entry";
> if(t.toString().indexOf(searchStr) !=3D -1) {
> AlreadyExistsException =3D true;
> } =09
> } =09
>
> I seggest u did not set the Hashtable!? =09
>
> Good luck
>
> Regards
>
> Armen
>
> -----Urspr=FCngliche Nachricht-----
> Von: opencms-dev-admin at opencms.org
> [mailto:opencms-dev-admin at opencms.org] Im Auftrag von
> opencms-dev-request at opencms.org
> Gesendet: Donnerstag, 14. August 2003 11:00
> An: opencms-dev at opencms.org
> Betreff: opencms-dev digest, Vol 1 #362 - 4 msgs
>
>
> Send opencms-dev mailing list submissions to
> opencms-dev at opencms.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> or, via email, send a message with subject or body 'help' to
> opencms-dev-request at opencms.org
>
> You can reach the person managing the list at
> opencms-dev-admin at opencms.org
>
> When replying, please edit your Subject line so it is more specific than
> "Re: Contents of opencms-dev digest..."
>
>
> Today's Topics:
>
>    1. Re: Use of News (Joachim Arrasz)
>    2. problems with installation (James Djunaedy)
>    3. Urgent: static export problem (Ivan Jelenic)
>    4. User/Webuser login (Jens Rickhoff)
>
> -- __--__--
>
> Message: 1
> Date: Wed, 13 Aug 2003 22:14:50 +0200 (CEST)
> Subject: Re: [opencms-dev] Use of News
> From: "Joachim Arrasz" <info at arrasz.de>
> To: <opencms-dev at opencms.org>
> Reply-To: opencms-dev at opencms.org
>
> Hi,
>
> the channels is a granularity of news as whole thing. You can configure
> channels and use them seperately on your website. then, for using you
> have to use the templates in
> system/modules/com.opencms.modules.homepage.news/templates
> There you find NewsItem.jsp for example. Have a look at his code and its
> easy to understand , when you have little experience in developing jsp
> Pages Hope this helps
>
> Achim
>
>
> --=20
> Questions about OpenCMS?
> --> www.synyx.de/board
>
>
> > Francisco J. Navarro>
> > Hello all,
> >
> > I have downloaded the news module from a page and have installed on my
>
> > OpenCms system. The tables in the database are ok and i can view
> > the=20 new icon in the Administrator view. When i pick in the news
> > icon i can
>
> > see the entrys and can add, delete or edit them. But, my question=20
> > is.... How can i use them in my website? This is, how can i see
> > them=20 in a web page. Are there any template to edit or to add to my
> > project=20 to do it or have i do it? And the other question... What's
> > the meaning
>
> > of the other icon, "Tele CMS Chanels"? How can i use it?
> >
> > Thanks a lot to those who help us to learn
> >
> > Fran
>
>
>
>
> -- __--__--
>
> Message: 2
> To: opencms-dev at opencms.org
> From: "James Djunaedy" <jdjunaedy at icnpharm.com>
> Date: Wed, 13 Aug 2003 13:46:06 -0700
> Subject: [opencms-dev] problems with installation
> Reply-To: opencms-dev at opencms.org
>
>
> John,
>
> Thanks for your help! Actually, I reinstalled everything except this
> time I used jakarta-tomcat-4.1.27-LE-jdk14.zip not the .exe one. It
> seems to work now. the only difference that I notice is the folder
> names. When I ran the .exe version, it named the folder "Tomcat 4.1"
> (there's a space between Tomcat and 4.1). With the zip version, the
> folder is named "jakarta-tomcat-4.1.27-LE-jdk14" (no spaces in between).
> Thank you for your desire to help.
>
>
> ************************************************************************
>         James G. Djunaedy
>         Programmer Analyst / Web Developer
>         ICN Pharmaceuticals, Inc.
>         P: (800) 548-5100 X2240
>         F: (714) 641-7269
>         jdjunaedy at icnpharm.com
>
> ************************************************************************
>
>
>
> -- __--__--
>
> Message: 3
> From: "Ivan Jelenic" <ivan.jelenic at nbs.yu>
> To: <opencms-dev at opencms.org>
> Date: Thu, 14 Aug 2003 08:59:29 +0200
> Subject: [opencms-dev] Urgent: static export problem
> Reply-To: opencms-dev at opencms.org
>
> This is a multi-part message in MIME format.
>
> ------=3D_NextPart_000_0021_01C36242.5EB10950
> Content-Type: text/plain;
> charset=3D"iso-8859-2"
> Content-Transfer-Encoding: quoted-printable
>
> Hi,
>
> I wrote about this but there was no reply. I have problems with static =
> =3D export. In opencms.properties static export is set to true. When I
> =3D publish my project nothing is exported in export folder. A message
> File =3D does not longer exist, skipping export is always shown.
>
> Please, help.
>
> Best regards, Ivan. ------=3D_NextPart_000_0021_01C36242.5EB10950
> Content-Type: text/html;
> charset=3D"iso-8859-2"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD> <META http-equiv=3D3DContent-Type content=3D3D"text/html; =
> =3D charset=3D3Diso-8859-2"> <META content=3D3D"MSHTML 6.00.2800.1170"
> name=3D3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D3D#ffffff>
> <DIV><FONT face=3D3DArial size=3D3D2>Hi,</FONT></DIV> <DIV><FONT
> face=3D3DArial size=3D3D2></FONT> </DIV> <DIV><FONT face=3D3DArial
> size=3D3D2>I wrote about this but there was no =3D reply. I have=3D20 =
> problems with static export. In opencms.properties static export is set
> =3D to true.=3D20 When I publish my project nothing is exported in
> export = folder. A =3D message <SPAN=3D20
> style=3D3D"COLOR: #666666"><FONT color=3D3D#000000>File does not longer
> = =3D exist, skipping=3D20 export is always
> shown.</FONT></SPAN></FONT></DIV> <DIV><FONT face=3D3DArial
> size=3D3D2><SPAN=3D20
> style=3D3D"COLOR: #666666"></SPAN></FONT> </DIV>
> <DIV><FONT face=3D3DArial color=3D3D#000000 size=3D3D2><SPAN =
> style=3D3D"COLOR: =3D
> #666666">Please,=3D20 help.</SPAN></FONT></DIV> <DIV><FONT =
> face=3D3DArial size=3D3D2><SPAN=3D20
> style=3D3D"COLOR: #666666"></SPAN></FONT> </DIV>
> <DIV><FONT face=3D3DArial color=3D3D#000000 size=3D3D2><SPAN =
> style=3D3D"COLOR: =3D
> #666666">Best=3D20 regards, Ivan.</SPAN></FONT></DIV></BODY></HTML>
>
> ------=3D_NextPart_000_0021_01C36242.5EB10950--
>
>
>
> -- __--__--
>
> Message: 4
> From: "Jens Rickhoff" <jens at visualteam.de>
> To: <opencms-dev at opencms.org>
> Date: Thu, 14 Aug 2003 10:13:40 +0200
> Subject: [opencms-dev] User/Webuser login
> Reply-To: opencms-dev at opencms.org
>
> Hello list,
>
> I am running into a problem trying to login a user or a webuser on my
> website. I created a webuser (I checked that he got correctly created),
> but when I try to log him in by:
>
> CmsJspActionElement cms =3D new CmsJspActionElement(pageContext, =
> request,
> response);
> CmsObject cmso =3D cms.getCmsObject(); cmso.loginWebUser(username,
> password);
>
> I get the following exception:
>
> org.apache.jasper.JasperException: Resource loader error in file
> '/system/modules/com.ovsoftware/elements/head.jsp'
> Root cause:
> org.apache.jasper.JasperException: com.opencms.core.CmsException:
> [com.opencms.file.mySql.CmsDbAccess] /default/vfs/en/login/login.html at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
> va:2
> 54)
>  at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
>  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> ... and so on
>
> I get the same exception when trying to log in a regular CMS user by
> using the loginUser(user,pw) method.
>
> Any ideas?
> Maybe somebody already tried this and can help with additional JSP
> code...
>
> Greetings,
> Jens
>
>
>
> -- __--__--
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
> visit=20 http://mail.opencms.org/mailman/listinfo/opencms-dev
>
> End of opencms-dev Digest
>
>
> --__--__--
>
> Message: 2
> From: "Jens Rickhoff" <jens at visualteam.de>
> To: <opencms-dev at opencms.org>
> Subject: Re: [opencms-dev] Re: User/Webuser login
> Date: Thu, 14 Aug 2003 12:32:06 +0200
> Reply-To: opencms-dev at opencms.org
>
> Hi Armen,
>
> thanks for your reply :)
>
> You were right, I did not set the Hashtable. So I tried it again, this
> time following your code closely. The User got created again.
>
> However, if I then try to
> cmsObj.loginWebUser(username,newPWD);
> I again get the exception:
>
> org.apache.jasper.JasperException: com.opencms.core.CmsException:
> [com.opencms.file.mySql.CmsDbAccess] /default/vfs/en/login/login.html
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
> va:2
> 54)
>  at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
>  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
> her.
> java:684)
>  at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDisp
> atch
> er.java:575)
>  at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispat
> cher
> .java:498)
>  at
> com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDi
> spat
> cher.java:180)
> ...
>
> Any other ideas? Do you login differently, maybe you can share the login
> JSP code, too.
>
> Thanks for your help,
>
> Jens
>
>
> ----- Original Message -----
> From: "Armen Markarian" <markarian at inexweb.de>
> To: <opencms-dev at opencms.org>
> Sent: Thursday, August 14, 2003 11:51 AM
> Subject: [opencms-dev] Re: User/Webuser login
>
>
> > Hi Jens, how did u created the user? Via JSP or over the workplace? If
>
> > u created the user via JSP use the cmsObj.addImportUser() method and
> > set the Additional-Hashtable
> >
> > See at the following code:
> >
> > Hashtable additionalInfos = new Hashtable();
> > additionalInfos.put(I_CmsConstants.C_ADDITIONAL_INFO_TOWN,"Neuss");
> > additionalInfos.put(I_CmsConstants.C_ADDITIONAL_INFO_ZIPCODE,"41460");
> >
> > try
> > {
> > // create a new cms user
> > CmsUser createdUser =
> > cmsObj.addImportUser(username,cmsObj.digest(newPWD),cmsObj.digest(conf
> > ir
> >
> mPWD),telefon,firstname,lastname,email,0,additionalInfos,defaultUserGrou
> > p,adress,section,type);
> > }
> > catch (Throwable t){
> >
> > System.out.println("PRJ-HOTELSUITE-HCC-ADMIN-USERDATA-CHILD-RESULT
> > (CREATE USER): " + t);
> > String searchStr = "Duplicate entry";
> > if(t.toString().indexOf(searchStr) != -1) { AlreadyExistsException =
> > true; }
> > }
> >
> > I seggest u did not set the Hashtable!?
> >
> > Good luck
> >
> > Regards
> >
> > Armen
> >
> > -----Ursprüngliche Nachricht-----
> > Von: opencms-dev-admin at opencms.org
> > [mailto:opencms-dev-admin at opencms.org] Im Auftrag von
> > opencms-dev-request at opencms.org
> > Gesendet: Donnerstag, 14. August 2003 11:00
> > An: opencms-dev at opencms.org
> > Betreff: opencms-dev digest, Vol 1 #362 - 4 msgs
> >
> >
> > Send opencms-dev mailing list submissions to opencms-dev at opencms.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > http://mail.opencms.org/mailman/listinfo/opencms-dev
> > or, via email, send a message with subject or body 'help' to
> > opencms-dev-request at opencms.org
> >
> > You can reach the person managing the list at
> > opencms-dev-admin at opencms.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than
> > "Re: Contents of opencms-dev digest..."
> >
> >
> > Today's Topics:
> >
> >    1. Re: Use of News (Joachim Arrasz)
> >    2. problems with installation (James Djunaedy)
> >    3. Urgent: static export problem (Ivan Jelenic)
> >    4. User/Webuser login (Jens Rickhoff)
> >
> > -- __--__--
> >
> > Message: 1
> > Date: Wed, 13 Aug 2003 22:14:50 +0200 (CEST)
> > Subject: Re: [opencms-dev] Use of News
> > From: "Joachim Arrasz" <info at arrasz.de>
> > To: <opencms-dev at opencms.org>
> > Reply-To: opencms-dev at opencms.org
> >
> > Hi,
> >
> > the channels is a granularity of news as whole thing. You can
> > configure channels and use them seperately on your website. then, for
> > using you have to use the templates in
> > system/modules/com.opencms.modules.homepage.news/templates
> > There you find NewsItem.jsp for example. Have a look at his code and
> > its easy to understand , when you have little experience in developing
>
> > jsp Pages Hope this helps
> >
> > Achim
> >
> >
> > --
> > Questions about OpenCMS?
> > --> www.synyx.de/board
> >
> >
> > > Francisco J. Navarro>
> > > Hello all,
> > >
> > > I have downloaded the news module from a page and have installed on
> > > my
> >
> > > OpenCms system. The tables in the database are ok and i can view the
>
> > > new icon in the Administrator view. When i pick in the news icon i
> > > can
> >
> > > see the entrys and can add, delete or edit them. But, my question
> > > is.... How can i use them in my website? This is, how can i see them
>
> > > in a web page. Are there any template to edit or to add to my
> > > project to do it or have i do it? And the other question... What's
> > > the meaning
> >
> > > of the other icon, "Tele CMS Chanels"? How can i use it?
> > >
> > > Thanks a lot to those who help us to learn
> > >
> > > Fran
> >
> >
> >
> >
> > -- __--__--
> >
> > Message: 2
> > To: opencms-dev at opencms.org
> > From: "James Djunaedy" <jdjunaedy at icnpharm.com>
> > Date: Wed, 13 Aug 2003 13:46:06 -0700
> > Subject: [opencms-dev] problems with installation
> > Reply-To: opencms-dev at opencms.org
> >
> >
> > John,
> >
> > Thanks for your help! Actually, I reinstalled everything except this
> > time I used jakarta-tomcat-4.1.27-LE-jdk14.zip not the .exe one. It
> > seems to work now. the only difference that I notice is the folder
> > names. When I ran the .exe version, it named the folder "Tomcat 4.1"
> > (there's a space between Tomcat and 4.1). With the zip version, the
> > folder is named "jakarta-tomcat-4.1.27-LE-jdk14" (no spaces in
> > between). Thank you for your desire to help.
> >
> >
> >
> ************************************************************************
> >         James G. Djunaedy
> >         Programmer Analyst / Web Developer
> >         ICN Pharmaceuticals, Inc.
> >         P: (800) 548-5100 X2240
> >         F: (714) 641-7269
> >         jdjunaedy at icnpharm.com
> >
> > **********************************************************************
> > **
> >
> >
> >
> > -- __--__--
> >
> > Message: 3
> > From: "Ivan Jelenic" <ivan.jelenic at nbs.yu>
> > To: <opencms-dev at opencms.org>
> > Date: Thu, 14 Aug 2003 08:59:29 +0200
> > Subject: [opencms-dev] Urgent: static export problem
> > Reply-To: opencms-dev at opencms.org
> >
> > This is a multi-part message in MIME format.
> >
> > ------=_NextPart_000_0021_01C36242.5EB10950
> > Content-Type: text/plain;
> > charset="iso-8859-2"
> > Content-Transfer-Encoding: quoted-printable
> >
> > Hi,
> >
> > I wrote about this but there was no reply. I have problems with static
>
> > = export. In opencms.properties static export is set to true. When I =
>
> > publish my project nothing is exported in export folder. A message
> > File = does not longer exist, skipping export is always shown.
> >
> > Please, help.
> >
> > Best regards, Ivan. ------=_NextPart_000_0021_01C36242.5EB10950
> > Content-Type: text/html;
> > charset="iso-8859-2"
> > Content-Transfer-Encoding: quoted-printable
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; =
> > charset=3Diso-8859-2"> <META content=3D"MSHTML 6.00.2800.1170"
> > name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff>
> > <DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV> <DIV><FONT
> > face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial
> > size=3D2>I wrote about this but there was no = reply. I have=20
> > problems with static export. In opencms.properties static export is
> > set = to true.=20 When I publish my project nothing is exported in
> > export folder. A = message <SPAN=20
> > style=3D"COLOR: #666666"><FONT color=3D#000000>File does not longer =
> > exist, skipping=20 export is always shown.</FONT></SPAN></FONT></DIV>
> > <DIV><FONT face=3DArial size=3D2><SPAN=20
> > style=3D"COLOR: #666666"></SPAN></FONT> </DIV>
> > <DIV><FONT face=3DArial color=3D#000000 size=3D2><SPAN style=3D"COLOR:
>
> > = #666666">Please,=20 help.</SPAN></FONT></DIV> <DIV><FONT
> > face=3DArial size=3D2><SPAN=20
> > style=3D"COLOR: #666666"></SPAN></FONT> </DIV>
> > <DIV><FONT face=3DArial color=3D#000000 size=3D2><SPAN style=3D"COLOR:
>
> > = #666666">Best=20 regards, Ivan.</SPAN></FONT></DIV></BODY></HTML>
> >
> > ------=_NextPart_000_0021_01C36242.5EB10950--
> >
> >
> >
> > -- __--__--
> >
> > Message: 4
> > From: "Jens Rickhoff" <jens at visualteam.de>
> > To: <opencms-dev at opencms.org>
> > Date: Thu, 14 Aug 2003 10:13:40 +0200
> > Subject: [opencms-dev] User/Webuser login
> > Reply-To: opencms-dev at opencms.org
> >
> > Hello list,
> >
> > I am running into a problem trying to login a user or a webuser on my
> > website. I created a webuser (I checked that he got correctly
> > created), but when I try to log him in by:
> >
> > CmsJspActionElement cms = new CmsJspActionElement(pageContext,
> > request,
> > response);
> > CmsObject cmso = cms.getCmsObject(); cmso.loginWebUser(username,
> > password);
> >
> > I get the following exception:
> >
> > org.apache.jasper.JasperException: Resource loader error in file
> > '/system/modules/com.ovsoftware/elements/head.jsp'
> > Root cause:
> > org.apache.jasper.JasperException: com.opencms.core.CmsException:
> > [com.opencms.file.mySql.CmsDbAccess] /default/vfs/en/login/login.html
> > at
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
> > ja
> > va:2
> > 54)
> >  at
> >
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
> >  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > ... and so on
> >
> > I get the same exception when trying to log in a regular CMS user by
> > using the loginUser(user,pw) method.
> >
> > Any ideas?
> > Maybe somebody already tried this and can help with additional JSP
> > code...
> >
> > Greetings,
> > Jens
> >
> >
> >
> > -- __--__--
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
> > visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
> > End of opencms-dev Digest
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
> > visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
>
>
> --__--__--
>
> Message: 3
> Date: Thu, 14 Aug 2003 12:49:12 +0200 (CEST)
> From: "Joachim Arrasz" <info at arrasz.de>
> To: <opencms-dev at opencms.org>
> Subject: [opencms-dev] IDE Integrated Debugging...
> Reply-To: opencms-dev at opencms.org
>
> Hi List,
>
> have anyone tried to debug Opencms in a IDE like Netbeans or something
> else? I`ve serious problems doing that. The starting of integrated
> Tomcat, on wich Opencms is deployed causes lots of exceptions. How do
> you debug new modules for Opencms?
>
> thx in advance
>
> Kind Regards
>
> Achim
>
>
>
> --__--__--
>
> Message: 4
> From: "Armen Markarian" <markarian at inexweb.de>
> To: <opencms-dev at opencms.org>
> Date: Thu, 14 Aug 2003 13:18:12 +0200
> Subject: [opencms-dev] Help please: Setting the StartProject of an user
> Reply-To: opencms-dev at opencms.org
>
> Hi, i have created an user via jsp. After logging the Project of the
> user is the 'online'. So i think i should set the StartProject of the
> user by the creating process? So i did this:
>
> Hashtable additionalInfos = new Hashtable();
> additionalInfos.put(I_CmsConstants.C_ADDITIONAL_INFO_TOWN,"Neuss");
> additionalInfos.put(I_CmsConstants.C_ADDITIONAL_INFO_ZIPCODE,"41460");
> additionalInfos.put(I_CmsConstants.C_ADDITIONAL_INFO_STARTSETTINGS,"{Sta
> rtProject=14}");
>
> Also i tested this:
>
> Hashtable additionalInfos = new Hashtable();
> additionalInfos.put(I_CmsConstants.C_ADDITIONAL_INFO_TOWN,"Neuss");
> additionalInfos.put(I_CmsConstants.C_ADDITIONAL_INFO_ZIPCODE,"41460");
> additionalInfos.put(I_CmsConstants.C_ADDITIONAL_INFO_STARTSETTINGS,"Star
> tProject=14");
>
> Trying to log the user, i get an exception!
>
> com.opencms.core.CmsException: 0 Unknown exception. Detailed error:
> CmsException ID: 0.
> root cause was java.lang.ClassCastException
>
> This is an out from the DB-Table CMS_USERS for an user that works well!
> Notify: The StartProject of this user is set by the workplace!
>
> {USER_EXPLORERSETTINGS=519, USER_STARTSETTINGS={StartAccessFlags=511,
> StartView=/system/workplace/action/explorer_new.html, StartLanguage=en,
> StartLockDialog=, StartDefaultGroup=HCCUser, StartProject=14},
> USER_TOWN=Neuss, USER_TASKSETTINGS={task.filter.=a1, TaskMessages=15,
> TaskViewAll=false}, USER_ZIPCODE=41460}
>
> What i'm doing wrong above?
>
> Best regards
>
> Armen
>
>
> --__--__--
>
> Message: 5
> From: "Ivan Jelenic" <ivan.jelenic at nbs.yu>
> To: <opencms-dev at opencms.org>
> Date: Thu, 14 Aug 2003 14:27:24 +0200
> Subject: [opencms-dev] LUCENE on Oracle with Oci driver
> Reply-To: opencms-dev at opencms.org
>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_000E_01C36270.2E541F30
> Content-Type: text/plain;
> charset="iso-8859-2"
> Content-Transfer-Encoding: quoted-printable
>
> Hi,
>
> I have been tested Lucene module with OpenCms on Oracle using Oracle oci
> = driver instead of generic sql. None of the searched text (in the body
> of = the page) was been found. Does anyone has the same problem?
>
> Best regards, Ivan.
> ------=_NextPart_000_000E_01C36270.2E541F30
> Content-Type: text/html;
> charset="iso-8859-2"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; =
> charset=3Diso-8859-2"> <META content=3D"MSHTML 6.00.2800.1170"
> name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff>
> <DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV> <DIV><FONT
> face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial
> size=3D2>I have been tested Lucene module with = OpenCms on=20 Oracle
> using Oracle oci driver instead of generic sql. None of the = searched
> text=20 (in the body of the page) was been found. Does anyone has the
> same=20 problem?</FONT></DIV> <DIV><FONT face=3DArial
> size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Best
> regards, = Ivan.</FONT></DIV></BODY></HTML>
>
> ------=_NextPart_000_000E_01C36270.2E541F30--
>
>
>
> --__--__--
>
> Message: 6
> From: "John Mohr" <jtmohr at healthconresources.com>
> To: <opencms-dev at opencms.org>
> Subject: RE: [opencms-dev] IDE Integrated Debugging...
> Date: Thu, 14 Aug 2003 08:33:56 -0500
> Reply-To: opencms-dev at opencms.org
>
> Hi Achim,
> I use eclipse 2.1.1 and had a couple of problems taking the source code
> from the zip, but then took the 5.0.0 release from the CVS. This worked
> fine. As for apache/tomcat on my machine, I use it external to eclipse.
> The command to get the stuff froim CVS is: cvs checkout -r branch_5_0_x
> opencms
>
> John
>
> -----Original Message-----
> From: opencms-dev-admin at opencms.org
> [mailto:opencms-dev-admin at opencms.org]On Behalf Of Joachim Arrasz
> Sent: Thursday, August 14, 2003 5:49 AM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] IDE Integrated Debugging...
>
>
> Hi List,
>
> have anyone tried to debug Opencms in a IDE like Netbeans or something
> else? I`ve serious problems doing that. The starting of integrated
> Tomcat, on wich Opencms is deployed causes lots of exceptions. How do
> you debug new modules for Opencms?
>
> thx in advance
>
> Kind Regards
>
> Achim
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
> visit http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>
> --__--__--
>
> Message: 7
> Date: Thu, 14 Aug 2003 16:00:33 +0200 (CEST)
> Subject: RE: [opencms-dev] IDE Integrated Debugging...
> From: "Joachim Arrasz" <info at arrasz.de>
> To: <opencms-dev at opencms.org>
> Reply-To: opencms-dev at opencms.org
>
> Hi John ,
>
> you start the tomcat not in Eclipse? You start it seperate and then
> connect via a port to the ide ? Do you know the command for doing that
> with startup of Tomcat? It tried this:
>
> set DEBUG=-Xdebug -Xnoagent
> -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7001then
> %DEBUG%
>
> as option, but the Netbeans didn`t connect to the tomcat.
>
> Any hint?
>
> thx in advance
>
> Achim
>
>
> --
> Questions about OpenCMS?
> --> www.synyx.de/board
>
>
> > John Mohr>
> > Hi Achim,
> > I use eclipse 2.1.1 and had a couple of problems taking the source
> > code from the zip, but then took the 5.0.0 release from the CVS. This
> > worked fine. As for apache/tomcat on my machine, I use it external to
> > eclipse. The command to get the stuff froim CVS is: cvs checkout -r
> > branch_5_0_x opencms
> >
> > John
> >
> > -----Original Message-----
> > From: opencms-dev-admin at opencms.org
> > [mailto:opencms-dev-admin at opencms.org]On Behalf Of Joachim Arrasz
> > Sent: Thursday, August 14, 2003 5:49 AM
> > To: opencms-dev at opencms.org
> > Subject: [opencms-dev] IDE Integrated Debugging...
> >
> >
> > Hi List,
> >
> > have anyone tried to debug Opencms in a IDE like Netbeans or something
>
> > else? I`ve serious problems doing that. The starting of integrated
> > Tomcat, on wich Opencms is deployed causes lots of exceptions. How do
> > you debug new modules for Opencms?
> >
> > thx in advance
> >
> > Kind Regards
> >
> > Achim
> >
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
> > visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
> > visit http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>
>
>
>
> --__--__--
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
> visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
> End of opencms-dev Digest
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>




More information about the opencms-dev mailing list