conversion of "<" to "<"

2001-05-25 Thread Ben Groeneveld

Another conversion question - is there a class that can do these html 
safe conversions:

"<" represents the < sign
"&" represents the & sign
"" represents the " mark

etc.  Thanks, BenG.

-- 
Ben Groeneveld 
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Upgrade of developer edition.

2001-05-25 Thread Mark Phelps

Go into the JMC and see what type of license it thinks you have.  I'm not
sure where JRun keeps its license info but it seems to survive an
uninstall/reinstall sometimes.  At least you know the software is all
installed. If it thinks you have the wrong kind of license you should be
able to fix it in the JMC by entering a valid enterprise license code.

Good luck.

-Original Message-
From: Kathpalia, Jeetender [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 25, 2001 2:45 PM
To: JRun-Talk
Subject: RE: Upgrade of developer edition.


Hi

i did re-install the whole Jrun, and have selected the EJBs option during
install.
I do see all the ejipt files in c:\jrun\lib.

but as per the Setup.pdf i should see an option for Enterprise java beans
under
machine_name > JRun_server_name > Enterprise JavaBeans.

but I dont see that. any thoughts?

thanks
jeetu

-Original Message-
From: Mark Phelps [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 25, 2001 1:47 PM
To: JRun-Talk
Subject: RE: Upgrade of developer edition.


I believe you simply buy the new software, obtain the license key, and then
enter the new license key in the JMC. JRun should then reflect its new
status.

I know that this works for upgrading a developer edition to the full
edition.  I don't know if your choice to deselect the EJB options during
install means that something was left off that will now need to be
installed.  Look in your Jrun\lib directory and see if there are some files
with ejipt at the beginning of their names. These are the files for the
ejipt EJB container.  If they are there then you probably have everything
you need.

In either case, doing a full reinstall shouldn't be very difficult anyway.

-Original Message-
From: Kathpalia, Jeetender [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 25, 2001 12:37 PM
To: JRun-Talk
Subject: Upgrade of developer edition.


Hi

During the install of Jrun, I had de-selected the EJB options, I had
installed only the servlet engine.

I now need to use EJBs. Is it possible to Upgrade Jrun rather than uninstall
it and then reinstall it ?

thanks
Jeetu
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Upgrade of developer edition.

2001-05-25 Thread Kathpalia, Jeetender

Hi

i did re-install the whole Jrun, and have selected the EJBs option during
install.
I do see all the ejipt files in c:\jrun\lib.

but as per the Setup.pdf i should see an option for Enterprise java beans
under
machine_name > JRun_server_name > Enterprise JavaBeans.

but I dont see that. any thoughts?

thanks
jeetu

-Original Message-
From: Mark Phelps [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 25, 2001 1:47 PM
To: JRun-Talk
Subject: RE: Upgrade of developer edition.


I believe you simply buy the new software, obtain the license key, and then
enter the new license key in the JMC. JRun should then reflect its new
status.

I know that this works for upgrading a developer edition to the full
edition.  I don't know if your choice to deselect the EJB options during
install means that something was left off that will now need to be
installed.  Look in your Jrun\lib directory and see if there are some files
with ejipt at the beginning of their names. These are the files for the
ejipt EJB container.  If they are there then you probably have everything
you need.

In either case, doing a full reinstall shouldn't be very difficult anyway.

-Original Message-
From: Kathpalia, Jeetender [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 25, 2001 12:37 PM
To: JRun-Talk
Subject: Upgrade of developer edition.


Hi

During the install of Jrun, I had de-selected the EJB options, I had
installed only the servlet engine.

I now need to use EJBs. Is it possible to Upgrade Jrun rather than uninstall
it and then reinstall it ?

thanks
Jeetu
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: How to configure session tracking mechanism?

2001-05-25 Thread Jackie Comeau

thanks!

On Friday, May 25, 2001 3:56 PM, Joe Niski [SMTP:[EMAIL PROTECTED]] wrote:
> i suppose if you have a high-traffic site with a lot of dynamic content, but
> no need to do anything session-specific, disabling session management could
> speed things up.
> 
> Joe
> 
> > -Original Message-
> > From: Jackie Comeau [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, May 25, 2001 9:24 AM
> > To: JRun-Talk
> > Subject: RE: How to configure session tracking mechanism?
> > 
> > 
> > Just out of curiousity, where would be an example of wanting 
> > to shut off 
> > session cookie? How would your apps run without it? Just 
> > curious why this 
> > capability.
> > 
> > Jackie
> > 
> > On Friday, May 25, 2001 12:01 PM, Joe Niski 
> > [SMTP:[EMAIL PROTECTED]] 
> > wrote:
> > > JRun lets you turn session cookies on & off, set the cookie 
> > name, set
> > > whether the cookies are persistent, and a few other 
> > parameters. It also 
> > does
> > > a lovely job of autmoaticcaly appending the seeionid to the URL if 
> > cookies
> > > are disabled in the client browser.
> > >
> > > You can access the session id from your JSP code by calling 
> > session.getID().
> > > The interface javax.servlet.http.HttpSession is full of 
> > useful methods 
> > for
> > > managing session info.
> > >
> > > JOE NISKI | Senior Software Engineer/Internet Architect
> > > Nine Dots
> > > 503.548.2176
> > > Portland . Irvine . San Francisco . Toronto
> > > [EMAIL PROTECTED]
> > >
> > > > -Original Message-
> > > > From: Sergey L.Ponomarev [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, May 24, 2001 10:26 PM
> > > > To: JRun-Talk
> > > > Subject: How to configure session tracking mechanism?
> > > >
> > > >
> > > > Hi,
> > > >
> > > > How can I configure session tracking mechanism in JRun? 
> > It seems to be
> > > > that properties in *.properties files concern to cockies 
> > only. How can
> > > > I disable/enable session tracking through URL rewriting or hidden
> > > > fields? Did I miss something?
> > > >
> > > > Best regards,
> > > > Sergey L.Ponomarev
> > > > mailto:[EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: How to configure session tracking mechanism?

2001-05-25 Thread Joe Niski

i suppose if you have a high-traffic site with a lot of dynamic content, but
no need to do anything session-specific, disabling session management could
speed things up.

Joe

> -Original Message-
> From: Jackie Comeau [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 25, 2001 9:24 AM
> To: JRun-Talk
> Subject: RE: How to configure session tracking mechanism?
> 
> 
> Just out of curiousity, where would be an example of wanting 
> to shut off 
> session cookie? How would your apps run without it? Just 
> curious why this 
> capability.
> 
> Jackie
> 
> On Friday, May 25, 2001 12:01 PM, Joe Niski 
> [SMTP:[EMAIL PROTECTED]] 
> wrote:
> > JRun lets you turn session cookies on & off, set the cookie 
> name, set
> > whether the cookies are persistent, and a few other 
> parameters. It also 
> does
> > a lovely job of autmoaticcaly appending the seeionid to the URL if 
> cookies
> > are disabled in the client browser.
> >
> > You can access the session id from your JSP code by calling 
> session.getID().
> > The interface javax.servlet.http.HttpSession is full of 
> useful methods 
> for
> > managing session info.
> >
> > JOE NISKI | Senior Software Engineer/Internet Architect
> > Nine Dots
> > 503.548.2176
> > Portland . Irvine . San Francisco . Toronto
> > [EMAIL PROTECTED]
> >
> > > -Original Message-
> > > From: Sergey L.Ponomarev [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, May 24, 2001 10:26 PM
> > > To: JRun-Talk
> > > Subject: How to configure session tracking mechanism?
> > >
> > >
> > > Hi,
> > >
> > > How can I configure session tracking mechanism in JRun? 
> It seems to be
> > > that properties in *.properties files concern to cockies 
> only. How can
> > > I disable/enable session tracking through URL rewriting or hidden
> > > fields? Did I miss something?
> > >
> > > Best regards,
> > > Sergey L.Ponomarev
> > > mailto:[EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: coverting whitespace in URL to '%20'

2001-05-25 Thread Scott Smith

Thanks a lot everybody!  I knew I had seen it somewhere but have been 
suffering brain rot from working too many hours!!!




>From: Simon Evans <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: JRun-Talk <[EMAIL PROTECTED]>
>Subject: RE: coverting whitespace in URL to '%20'
>Date: Fri, 25 May 2001 12:18:09 -0700
>
>use java.net.URLEncoder
>
>for example, this should put the %20 instead of the space
>String param = "FirstName LastName";
>String encodedParam = URLEncoder.encode(param);
>
>
>-Original Message-
>From: Scott Smith [mailto:[EMAIL PROTECTED]]
>Sent: Friday, May 25, 2001 11:53 AM
>To: JRun-Talk
>Subject: coverting whitespace in URL to '%20'
>
>
>This may be a stupid question, and I can't believe I haven't run across it
>before but...
>
>Is there a method in the Servlet/JSP API that will convert all characters
>which are illegal in URLs to their legal counterpart?
>
>For example mypage.jsp?name=FirstName LastName  becomes
>mypage.jsp?name=FirstName%20LastName
>
>???
>
>I assume there must be some method that accepts a String (that is to be
>formatted) and returns the formatted String but I surely can't find it.
>
>Thanks!
>
>Scott
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: coverting whitespace in URL to '%20'

2001-05-25 Thread Li, Zaitao


take a look at the class java.net.URLEncoder and java.net.URLDecoder.



-Original Message-
From: Scott Smith [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 25, 2001 1:53 PM
To: JRun-Talk
Subject: coverting whitespace in URL to '%20'


This may be a stupid question, and I can't believe I haven't run across it 
before but...

Is there a method in the Servlet/JSP API that will convert all characters 
which are illegal in URLs to their legal counterpart?

For example mypage.jsp?name=FirstName LastName  becomes
mypage.jsp?name=FirstName%20LastName

???

I assume there must be some method that accepts a String (that is to be 
formatted) and returns the formatted String but I surely can't find it.

Thanks!

Scott
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: coverting whitespace in URL to '%20'

2001-05-25 Thread Pete Freitag

Scott,

Take a look at java.net.URLEncoder.encode(string) its a static method.
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: coverting whitespace in URL to '%20'

2001-05-25 Thread Simon Evans

use java.net.URLEncoder

for example, this should put the %20 instead of the space
String param = "FirstName LastName";
String encodedParam = URLEncoder.encode(param);


-Original Message-
From: Scott Smith [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 25, 2001 11:53 AM
To: JRun-Talk
Subject: coverting whitespace in URL to '%20'


This may be a stupid question, and I can't believe I haven't run across it 
before but...

Is there a method in the Servlet/JSP API that will convert all characters 
which are illegal in URLs to their legal counterpart?

For example mypage.jsp?name=FirstName LastName  becomes
mypage.jsp?name=FirstName%20LastName

???

I assume there must be some method that accepts a String (that is to be 
formatted) and returns the formatted String but I surely can't find it.

Thanks!

Scott
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



coverting whitespace in URL to '%20'

2001-05-25 Thread Scott Smith

This may be a stupid question, and I can't believe I haven't run across it 
before but...

Is there a method in the Servlet/JSP API that will convert all characters 
which are illegal in URLs to their legal counterpart?

For example mypage.jsp?name=FirstName LastName  becomes
mypage.jsp?name=FirstName%20LastName

???

I assume there must be some method that accepts a String (that is to be 
formatted) and returns the formatted String but I surely can't find it.

Thanks!

Scott
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Upgrade of developer edition.

2001-05-25 Thread Mark Phelps

I believe you simply buy the new software, obtain the license key, and then
enter the new license key in the JMC. JRun should then reflect its new
status.

I know that this works for upgrading a developer edition to the full
edition.  I don't know if your choice to deselect the EJB options during
install means that something was left off that will now need to be
installed.  Look in your Jrun\lib directory and see if there are some files
with ejipt at the beginning of their names. These are the files for the
ejipt EJB container.  If they are there then you probably have everything
you need.

In either case, doing a full reinstall shouldn't be very difficult anyway.

-Original Message-
From: Kathpalia, Jeetender [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 25, 2001 12:37 PM
To: JRun-Talk
Subject: Upgrade of developer edition.


Hi

During the install of Jrun, I had de-selected the EJB options, I had
installed only the servlet engine.

I now need to use EJBs. Is it possible to Upgrade Jrun rather than uninstall
it and then reinstall it ?

thanks
Jeetu
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Upgrade of developer edition.

2001-05-25 Thread Kathpalia, Jeetender

Hi

During the install of Jrun, I had de-selected the EJB options, I had
installed only the servlet engine.

I now need to use EJBs. Is it possible to Upgrade Jrun rather than uninstall
it and then reinstall it ?

thanks
Jeetu



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: New web App problems.

2001-05-25 Thread Kathpalia, Jeetender

Thanks this helped.

I didnt see any of the lines for http, but what I did was made a copy of the
default-apps web.xml..and modified it and saved into the new webapp
location. and it works fine now.

Thanks
jeetu


-Original Message-
From: Mark Phelps [mailto   
Sent: Friday, May 25, 2001 11:59 AM
To: JRun-Talk
Subject: RE: New web App problems.


It appears that your web application's deployment descriptor is referring to
this dtd.  Open the file c:\program
files\allaire\jrun\servers\default\default-app\web-inf\web.xml.  If you
installed JRun in a different directory or if your platform is not Windows,
modify the path accordingly.  Look at the top of the file. You will probably
see a line that refers to the url java.sun.com/j2ee/dtds/web-app_2_2.dtd .
You should be able to remove that line, save the file and then restart JRun.

I hope this helps.

-Original Message-
From: Kathpalia, Jeetender [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 25, 2001 10:31 AM
To: JRun-Talk
Subject: New web App problems.


Hi

I have installed Jrun, and the demo apps work fine.

After I create a new webapp in the Default server and then want to look at
any of the settings of my new webapp, Jrun crashes.

The log files show below..

Any ideas as what is wrong and how to solve it... why is the web app looking
for web-app 2 2.dtd?.

Thanks
Jeetu


05/25 10:57:21 error (JRun) JRun Aborting! [javax.servlet.ServletException:
External entity not found: "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";.]
[2]org.xml.sax.SAXParseException: External entity not found:
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";.
at java.lang.Throwable.(Compiled Code)
at java.lang.Exception.(Compiled Code)
at org.xml.sax.SAXException.(SAXException.java:71)
at org.xml.sax.SAXParseException.(SAXParseException.java:71)
at com.sun.xml.parser.Parser.fatal(Parser.java:2817)
at com.sun.xml.parser.Parser.externalParameterEntity(Compiled Code)
at com.sun.xml.parser.Parser.maybeDoctypeDecl(Compiled Code)
at com.sun.xml.parser.Parser.parseInternal(Compiled Code)
at com.sun.xml.parser.Parser.parse(Parser.java:284)
at
allaire.jrun.util.WebAppUtil.deploymentDescriptorToProperties(WebAppUtil.jav
a:472)
at
allaire.jrun.util.WebAppUtil.deploymentDescriptorToProperties(WebAppUtil.jav
a:428)
at allaire.jrun.servlet.JRunSE.loadConfig(Compiled Code)
at allaire.jrun.servlet.JRunSE.init(Compiled Code)
at allaire.jrun.ServletService.init(Compiled Code)
at allaire.jrun.ServletService.init(ServletService.java:31)
at
allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoader
java:236)
at allaire.jrun.servlet.JRunSE.initServices(Compiled Code)
at allaire.jrun.servlet.JvmContext.initServices(JvmContext.java:96)
at allaire.jrun.servlet.JRunSE.init(Compiled Code)
at allaire.jrun.servlet.JvmContext.init(JvmContext.java:35)
at allaire.jrun.ServletService.init(Compiled Code)
at allaire.jrun.ServletService.init(ServletService.java:31)
at JRun.main(Compiled Code)
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: New web App problems.

2001-05-25 Thread Mark Phelps

It appears that your web application's deployment descriptor is referring to
this dtd.  Open the file c:\program
files\allaire\jrun\servers\default\default-app\web-inf\web.xml.  If you
installed JRun in a different directory or if your platform is not Windows,
modify the path accordingly.  Look at the top of the file. You will probably
see a line that refers to the url java.sun.com/j2ee/dtds/web-app_2_2.dtd .
You should be able to remove that line, save the file and then restart JRun.

I hope this helps.

-Original Message-
From: Kathpalia, Jeetender [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 25, 2001 10:31 AM
To: JRun-Talk
Subject: New web App problems.


Hi

I have installed Jrun, and the demo apps work fine.

After I create a new webapp in the Default server and then want to look at
any of the settings of my new webapp, Jrun crashes.

The log files show below..

Any ideas as what is wrong and how to solve it... why is the web app looking
for web-app 2 2.dtd?.

Thanks
Jeetu


05/25 10:57:21 error (JRun) JRun Aborting! [javax.servlet.ServletException:
External entity not found: "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";.]
[2]org.xml.sax.SAXParseException: External entity not found:
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";.
at java.lang.Throwable.(Compiled Code)
at java.lang.Exception.(Compiled Code)
at org.xml.sax.SAXException.(SAXException.java:71)
at org.xml.sax.SAXParseException.(SAXParseException.java:71)
at com.sun.xml.parser.Parser.fatal(Parser.java:2817)
at com.sun.xml.parser.Parser.externalParameterEntity(Compiled Code)
at com.sun.xml.parser.Parser.maybeDoctypeDecl(Compiled Code)
at com.sun.xml.parser.Parser.parseInternal(Compiled Code)
at com.sun.xml.parser.Parser.parse(Parser.java:284)
at
allaire.jrun.util.WebAppUtil.deploymentDescriptorToProperties(WebAppUtil.jav
a:472)
at
allaire.jrun.util.WebAppUtil.deploymentDescriptorToProperties(WebAppUtil.jav
a:428)
at allaire.jrun.servlet.JRunSE.loadConfig(Compiled Code)
at allaire.jrun.servlet.JRunSE.init(Compiled Code)
at allaire.jrun.ServletService.init(Compiled Code)
at allaire.jrun.ServletService.init(ServletService.java:31)
at
allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoader
...java:236)
at allaire.jrun.servlet.JRunSE.initServices(Compiled Code)
at allaire.jrun.servlet.JvmContext.initServices(JvmContext.java:96)
at allaire.jrun.servlet.JRunSE.init(Compiled Code)
at allaire.jrun.servlet.JvmContext.init(JvmContext.java:35)
at allaire.jrun.ServletService.init(Compiled Code)
at allaire.jrun.ServletService.init(ServletService.java:31)
at JRun.main(Compiled Code)
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



New web App problems.

2001-05-25 Thread Kathpalia, Jeetender

Hi

I have installed Jrun, and the demo apps work fine.

After I create a new webapp in the Default server and then want to look at
any of the settings of my new webapp, Jrun crashes.

The log files show below..

Any ideas as what is wrong and how to solve it... why is the web app looking
for web-app 2 2.dtd?.

Thanks
Jeetu


05/25 10:57:21 error (JRun) JRun Aborting! [javax.servlet.ServletException: 
External entity not found: "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";.]
[2]org.xml.sax.SAXParseException: External entity not found: 
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";.
at java.lang.Throwable.(Compiled Code)
at java.lang.Exception.(Compiled Code)
at org.xml.sax.SAXException.(SAXException.java:71)
at org.xml.sax.SAXParseException.(SAXParseException.java:71)
at com.sun.xml.parser.Parser.fatal(Parser.java:2817)
at com.sun.xml.parser.Parser.externalParameterEntity(Compiled Code)
at com.sun.xml.parser.Parser.maybeDoctypeDecl(Compiled Code)
at com.sun.xml.parser.Parser.parseInternal(Compiled Code)
at com.sun.xml.parser.Parser.parse(Parser.java:284)
at 
allaire.jrun.util.WebAppUtil.deploymentDescriptorToProperties(WebAppUtil.jav
a:472)
at 
allaire.jrun.util.WebAppUtil.deploymentDescriptorToProperties(WebAppUtil.jav
a:428)
at allaire.jrun.servlet.JRunSE.loadConfig(Compiled Code)
at allaire.jrun.servlet.JRunSE.init(Compiled Code)
at allaire.jrun.ServletService.init(Compiled Code)
at allaire.jrun.ServletService.init(ServletService.java:31)
at 
allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoader
..java:236)
at allaire.jrun.servlet.JRunSE.initServices(Compiled Code)
at allaire.jrun.servlet.JvmContext.initServices(JvmContext.java:96)
at allaire.jrun.servlet.JRunSE.init(Compiled Code)
at allaire.jrun.servlet.JvmContext.init(JvmContext.java:35)
at allaire.jrun.ServletService.init(Compiled Code)
at allaire.jrun.ServletService.init(ServletService.java:31)
at JRun.main(Compiled Code)

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: How to configure session tracking mechanism?

2001-05-25 Thread Jackie Comeau

Just out of curiousity, where would be an example of wanting to shut off 
session cookie? How would your apps run without it? Just curious why this 
capability.

Jackie

On Friday, May 25, 2001 12:01 PM, Joe Niski [SMTP:[EMAIL PROTECTED]] 
wrote:
> JRun lets you turn session cookies on & off, set the cookie name, set
> whether the cookies are persistent, and a few other parameters. It also 
does
> a lovely job of autmoaticcaly appending the seeionid to the URL if 
cookies
> are disabled in the client browser.
>
> You can access the session id from your JSP code by calling 
session.getID().
> The interface javax.servlet.http.HttpSession is full of useful methods 
for
> managing session info.
>
> JOE NISKI | Senior Software Engineer/Internet Architect
> Nine Dots
> 503.548.2176
> Portland . Irvine . San Francisco . Toronto
> [EMAIL PROTECTED]
>
> > -Original Message-
> > From: Sergey L.Ponomarev [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, May 24, 2001 10:26 PM
> > To: JRun-Talk
> > Subject: How to configure session tracking mechanism?
> >
> >
> > Hi,
> >
> > How can I configure session tracking mechanism in JRun? It seems to be
> > that properties in *.properties files concern to cockies only. How can
> > I disable/enable session tracking through URL rewriting or hidden
> > fields? Did I miss something?
> >
> > Best regards,
> > Sergey L.Ponomarev
> > mailto:[EMAIL PROTECTED]
> >
> >
> >
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: How to configure session tracking mechanism?

2001-05-25 Thread Joe Niski

JRun lets you turn session cookies on & off, set the cookie name, set
whether the cookies are persistent, and a few other parameters. It also does
a lovely job of autmoaticcaly appending the seeionid to the URL if cookies
are disabled in the client browser.

You can access the session id from your JSP code by calling session.getID().
The interface javax.servlet.http.HttpSession is full of useful methods for
managing session info.

JOE NISKI | Senior Software Engineer/Internet Architect
Nine Dots
503.548.2176
Portland . Irvine . San Francisco . Toronto
[EMAIL PROTECTED]

> -Original Message-
> From: Sergey L.Ponomarev [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 24, 2001 10:26 PM
> To: JRun-Talk
> Subject: How to configure session tracking mechanism?
> 
> 
> Hi,
> 
> How can I configure session tracking mechanism in JRun? It seems to be
> that properties in *.properties files concern to cockies only. How can
> I disable/enable session tracking through URL rewriting or hidden
> fields? Did I miss something?
> 
> Best regards,
> Sergey L.Ponomarev
> mailto:[EMAIL PROTECTED]
> 
> 
> 
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Session Clustering

2001-05-25 Thread Steven Webster

Hi all,

I have an application in which JRun serves the job of the Web Container, and
another application serves the job of an EJB Container.  The session is
maintained
in the application server, primarily because the architecture employs a
cluster
of webservers, which are load balanced by a Cisco Local Director Router.

Currently, if Session were maintained on the web container (in HttpSession)
then there would be no guarantee that repeated HttpRequests in a user's
session would be served by the same JRun instance in the cluster, therefore
making Session Management on the Web Container a tricky task.

Is there an established way of configuring a cluster of JRun Servers, so
that
HttpSession can be maintained _across the cluster_ without simply insisting
that all user sessions are handled by the same JRun Server (as this doesn't
allow failover of Servers without session invalidation).

If anyone has done this before, or has pointers to reference material, I'd
be very interested in discussing this.

Best wishes,

Steven


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists