Application CLient JNDI properties

2001-08-13 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
Title: RE: SessionContext.getEJBObject() I am trying to start a swing client app which communicates with an ejb. Works fine if I use the console or applicationlauncher.jar Now I am trying to run the client directly from java, i.e. java my.Client

RE: Application CLient JNDI properties

2001-08-14 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
Yes, ejb.jar, jndi.jar and orion.jar are all added to the classpath. -Original Message- From: Scott Hamilton, (m)+61-404-280 238 [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 3:57 PM To: Orion-Interest Subject: RE: Application CLient JNDI properties what I get is:

ejb.dfPackage ejb.dfPackage.wmf

2001-08-16 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
Anybody knows the role these files play (they are in the ATM example, com/acme/atm/ejb in atm-ejb) - what are they for, where do I find info (e.g. about format), and how is the *.wmf file created? Cheers --peter

RE: External EJB Client

2001-08-28 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
Find a nice little example in Chapter 30 of WROX Professional Java Server Programming J2EE Edition. There are both Web and Swing Clients to an EJB backend. Good simple stuff to get started. --peter -Original Message- From: Fredrik Lindgren [mailto:[EMAIL PROTECTED]] Sent:

RE: Upload files

2001-08-29 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
Works fine for me. Only difference is that as in the example I read directly from the PostFileInputStream - to rehash it here: int character; PostFileInputStream in = (PostFileInputStream)element; while ( (character = in.read()) -1 ) {

AppClient: problem with LoginException

2001-09-04 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
I am trying to start an application client with Java WebStart (the client works fine from the command-line or applicationlauncher or the console). I get a java.lang.NoClassDefFoundError: javax/security/auth/login/LoginException when started with WebStart, and only with WebStart. This class is

RE: AppClient: namespace problem

2001-09-05 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
This is a resend, as the original message(s) didn't make it: First, the LoginException class that I was missing in my previous message is (of course) in jaas.jar ... I know there were

RE: AppClient: problem with LoginException

2001-09-05 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
. - Original Message - From: SAURUGGER,PETER (A-PaloAlto,ex2) [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Tuesday, September 04, 2001 6:31 PM Subject: AppClient: problem with LoginException I am trying to start an application client with Java WebStart (the client works

RE: ORacle db string over 4000 chars

2001-09-07 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
Title: ORacle db string over 4000 chars use clob instead of varchar -Original Message-From: Nusairat, Joseph F. [mailto:[EMAIL PROTECTED]]Sent: Friday, September 07, 2001 8:39 AMTo: Orion-InterestSubject: ORacle db string over 4000 chars Does anyone know how to handle

RE: FORM based authentication with form-login-page as a JSP

2001-09-07 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
Would be interesting to control where a user goes, e.g. always redirecting them to the home page. Unfortunately, I don't have an answer to your question, just another observation: you don't even have to submit the page to j_security_check (see e.g. atm/atm-web/login.jsp) - orion -knows- where to

reading the ServletInputStream

2001-09-13 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
I am trying to read the 'raw' http request that is submitted e.g. by a FORM. I assume that ServletInputStream should contain the unparsed HTTP request. public class RequestEchoServlet extends HttpServlet { public void doPost(HttpServletRequest request,

RE: Running Orion as Win 2000 services ???

2001-09-14 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
JNT is a viable and simple alternative - http://www.eworksmart.com/JNT/ problems I encountered with it are that shutting down the service from the W2K services console hangs (after shutting the service down, so it's no big problem). A larger issue is that it uses the "default JVM", which on

request.getInputStream - more

2001-09-17 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
Title: After some experimentation I found that the availability of the request input stream is dependent upon the request mime type. E.g. submission from an HTML forms default mime type is *not* available, while text/xml-SOAP or multipart/form-data is.I believe this is not the correct

RE: Which JAR do I need to run an external client app

2001-09-18 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
This problem seems to be similar to what I have been running into when trying to start an Application Client from WebStart - which also involves copying the jars to the webstart cache. It's got something to do with Orions jndi implementation, I suspect - we got the same thing running in another

RE: session bug

2001-09-18 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
If I read your output correctly, your session object is still there in Tomcat after the invalidate; only when you do a new getSession() a new session ID is obtained. I have not read the spec on what the behaviour should be, but the required behaviour may only say that at the *next incoming

RE: Which JAR do I need to run an external client app

2001-09-19 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
In my case at least it is java:whatever-is-in-application-client.xml or orion-application-client.xml that's not available. Is there any other place to specify the jndi location for an ejb? Experimented with RMIInitialContextFactory as well without success. with the follwoing entry in

RE: How can I start Orion Server as a service in Windows NT/2000 ?

2001-11-14 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
Most likely you have not shut down another HTTP server which is listening on the same port (probably IIS). Either disable the other service, or use the Orion HTTP server on a different port. -Original Message-From: Vu Le Hung [mailto:[EMAIL PROTECTED]]Sent: Tuesday, November

RE: Microsoft JDBC Driver - Issues w/ Data Source

2001-11-16 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
In a previous project we had to look at mssql as one of the database servers under consideration. Don't know, with the exception of the order of the arguments in the tag and that I didn't need to use // in front of the machine name (which could be specific to the driver) I can't see anything

RE: Newbie classpath problem - please help

2001-09-27 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
-cp does not work in conjunction with -jar. The jar file gets its class path from the manifest file. You can drop jars into the the implicit classpath at your jre/lib/ext. I have not tried it, but Orions classloader may pick up jars in the Orion directory. For your applications, you can

RE: Problem implementing Custom User Management using SimpleUserManager

2001-10-09 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
I have not tried this yet, but it just occurred to me that the naming.principal is just establishing the jndi security context - it does not do a login. If you want to login, you have to first establish the context with an account in principals.xml, and then use RoleManager.login(...) to login

RE: How to get the RoleManager

2001-10-10 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
Maybe the session=shared attribute would allow you to achieve your goal. Don't know whether its valid only for sharing between http and https sessions -Original Message- From: David Potts [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 10, 2001 5:02 AM To: Orion-Interest Subject: RE:

RE: Invalidating session .. removing JSESSIONID cookie

2001-12-04 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
Kris, for most needs I could think of you shouldn't have to worry about the cookie at all. session.invalidate() will terminate the session, so if a user attempts to access a protected resource after a page executes this statement they will be required to login again. I do seem to remember,

RE: Off-topic: UML Tools...Help!!!

2001-12-06 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
I can't say anything about Select, but we are using (Ir)Rational Rose here - a sometimes harrowing but necessary experience. Harrowing, because of numerous littlebugs in the software, workflows which work only under certain circumstances and not others, and certain features only partially

RE: Anyone got old orionsupport sample application client / scheduler?

2002-01-11 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
Use the UK mirror: http://uk.orionsupport.com/articles/appclient.html -Original Message- From: Geoff Soutter [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 9:34 PM To: Orion-Interest Subject: Anyone got old orionsupport sample application client / scheduler? You can see it

RE: Re(2): Application client log in

2002-02-08 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
You are probably missing application-client.xml, and orion-application-client.xml; they have to be in a META-INF directory relative to the source root of your client. You should be able to find the apropriate tags in the orion docs and on the sites referenced before. In my own situation, I call

RE: Many clicks, many request...

2002-02-20 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
Yes. On the Web page use a scripted button to submit the formdata; use boolean variable isSubmitted to indicate whether to submit. Once you set it to true after submission, simply ignore the next click or alert the user that it was done already and s/he has to be patient and wait ...

RE: SQL Server JDBC driver from Microsoft

2002-03-15 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
weblogic (oops) has had a driver for MS SQL server for a while ... used it for a demo once, works fine for basic jdbc, don't know about advanced features and performance relative to other drivers -Original Message- From: Robert Virkus [mailto:[EMAIL PROTECTED]] Sent: Friday, March 15,

RE: RMI client accessing JMS Topic

2002-03-19 Thread SAURUGGER,PETER (A-PaloAlto,ex2)
I found it useful to look at OrionServers console, under context; in general, it seems all objects get exposed under the root context with their full qualified pathname, in your case probably something like context.lookup(com.epistemic.notification.NotificationFactory) or whatever ...