RE: SSL and HttpServletRequest.getRequestedSessionId()

2000-10-05 Thread Walker, Eric

Thanks

But how do I gain access to this 'ssl session'? I can find o mention of it
in the doc.

Thanks
Eric

-Original Message-
From: Lorin Kobashigawa [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 02, 2000 3:10 PM
To: Orion-Interest
Subject: Re: SSL and HttpServletRequest.getRequestedSessionId()

There are actually two sessions involved in SSL.  The ssl session, and the
http session.  The ssl session is probably returning true before the http
session has been instantiated.

I ran into this problem with session timeouts.  Make sure to use
shared="true" in your secure-site.xml, or your ssl sessions will timeout at
a different time than your http sessions. (after about 60-90 sec)

-Lkb

At 12:40 PM 10/2/00 -0500, Walker, Eric wrote:
When accessing a web site configured for SSL I have noticed that
calling HttpServletRequest.getRequestedSessionId() for a client that has
not yet joined a session returns a non null value. The same scenario for a
non-SSL site always returns a null. Any ideas why there is a difference
between SSL vs. non-SSL? Thanks  Eric  


/**
 * @author: Lorin Kobashigawa-Bates [EMAIL PROTECTED]
 * @title:  CodeMonkey / COO - Robot6 Inc.
 * @phone:  415.345.8872
 * @addr:   1177 Polk St. San Francisco, CA 94109
 */




SSL and HttpServletRequest.getRequestedSessionId()

2000-10-02 Thread Walker, Eric








When accessing a web site configured for SSL I have noticed that calling
HttpServletRequest.getRequestedSessionId() for a client that has not yet joined
a session returns a non null value. The same scenario for a non-SSL site always
returns a null. Any ideas why there is a difference between SSL vs. non-SSL?



Thanks

Eric








RE: Session bean time out : URGENT

2000-05-25 Thread Walker, Eric

Hi

We are currently working on a application using the orion server. I would
like some information on how to control the timeout interval for EJBs under
Orion. We seem to be timing out after two minutes or so. We have a critical
deadline and this is really holding us up. I have posted this question to
the mailing list before but I have never received a reply from anyone at
orion.  Any help would be greatly appreciated.

Thanks

Eric

-Original Message-
From: Walker, Eric [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 16, 2000 6:06 PM
To: Orion-Interest
Subject: Session bean time out


Is there any way for me to set the timeout interval for an EJB?

Thanks

Eric




Session bean time out

2000-05-16 Thread Walker, Eric

Is there any way for me to set the timeout interval for an EJB?

Thanks

Eric




RE: worked under 0.9.4 broken under 0.9.6

2000-04-27 Thread Walker, Eric


Having another 0.9.4 vs 0.9.6 problem:

public ConfigDAO(Connection connection) throws SQLException
{
fConnection = connection;
try
{
vStatements.put("INSERT_PROPERTY",
fConnection.prepareStatement("INSERT INTO CONFIG (CONFIGKEY, VALUE,
CONFIGKEYNAME, DESCRIPTION, CONFIGGROUP) VALUES (?, ?, ?, ?, ?)"));

vStatements.put("UPDATE_PROPERTY",
fConnection.prepareStatement("UPDATE CONFIG SET VALUE = ?, CONFIGKEYNAME =
?, DESCRIPTION = ?, CONFIGGROUP = ? WHERE CONFIGKEY = ?"));
vStatements.put("UPDATE_PROPERTY_VALUE",
fConnection.prepareStatement("UPDATE CONFIG SET VALUE = ? WHERE CONFIGKEY =
?"));

vStatements.put("DELETE_PROPERTY",
fConnection.prepareStatement("DELETE FROM CONFIG WHERE CONFIGKEY = ?"));

vStatements.put("SELECT_PROPERTY_VALUE",
fConnection.prepareStatement("SELECT VALUE FROM CONFIG WHERE CONFIGKEY =
?"));
vStatements.put("SELECT_ALL_PROPERTIES",
fConnection.prepareStatement("SELECT VALUE, CONFIGKEYNAME, DESCRIPTION,
CONFIGGROUP FROM CONFIG"));
//   vStatements.put("SELECT_BY_GROUPS",
fConnection.prepareStatement("SELECT VALUE, CONFIGKEYNAME, DESCRIPTION FROM
CONFIG WHERE CONFIGGROUP = ?"));

}
catch (Exception e)
{
throw new ConfigException(e.getMessage(), e);
}
    }

fConnection.prepareStatement works under 0.9.4 throws NullPointer Exception
under 0.9.6

Thanks

Eric

-Original Message-
From: Walker, Eric [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 25, 2000 4:43 PM
To: Orion-Interest
Subject: worked under 0.9.4 broken under 0.9.6


the following code snippet worked under 0.9.4 but generates a
NullPointerException under 0.9.6. The offending line is the lookup:

private IConfig getConfigBean()
{
if( m_configBean != null )
{
return m_configBean;
}

try
{
InitialContext initialContext = new
InitialContext();
Object obj =
initialContext.lookup("java:comp/env/ejb/ssp/StashHome");
ConfigHome configHome =
(ConfigHome)PortableRemoteObject.narrow(obj,ConfigHome.class);
m_configBean = configHome.create();
}
catch (Exception e)
{
  e.printStackTrace();
System.out.println("Can't get Configuation bean. No
items will be available!");
}

return m_configBean;
}

Any ideas?

Thanks
Eric Walker




worked under 0.9.4 broken under 0.9.6

2000-04-25 Thread Walker, Eric

the following code snippet worked under 0.9.4 but generates a
NullPointerException under 0.9.6. The offending line is the lookup:

private IConfig getConfigBean()
{
if( m_configBean != null )
{
return m_configBean;
}

try
{
InitialContext initialContext = new
InitialContext();
Object obj =
initialContext.lookup("java:comp/env/ejb/ssp/StashHome");
ConfigHome configHome =
(ConfigHome)PortableRemoteObject.narrow(obj,ConfigHome.class);
m_configBean = configHome.create();
}
catch (Exception e)
{
  e.printStackTrace();
System.out.println("Can't get Configuation bean. No
items will be available!");
}

return m_configBean;
}

Any ideas?

Thanks
Eric Walker