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
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:
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
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:
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 )
{
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
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
.
- 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
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
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
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,
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
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
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
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
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
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
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
-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
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
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:
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,
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
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
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
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 ...
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,
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
...
28 matches
Mail list logo