Did anyone ever overcome this problem which we are facing as well. We strongly
do not wish to package a distinct war file for JBoss only, and to have our
installer be 'container aware'.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930221#3930221
Reply to
Sorry for the unclear question.
That is good information and I appreciate it but I guess I did not ask a clear
question: I am doing that, but how in the world would that register a JNDI
environment??
I'm getting this:
javax.naming.NameNotFoundException: importer-client not bound
So, it is find
Where does this file actually go to get deployed?
In the reference:
http://www.jboss.org/wiki/Wiki.jsp?page=J2EEClient
It explains the concept fully and some of the details, but I am confused about
where does this file actaully go to get deployed.
ear? And it also mentions the application-client
Thanks for replying. Sorry to pursue this topic more but I still have
questions. I understand the link provided that shows me the jboss-client.xml.
And the reference to it from the client Java application. What I dont'
understand is 'where' to put it. Do I put it with the ejbs?
Do I creat
This goes back to problem I posted recently:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=58775
and
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=58597
In essence: I am writting java application that is not in the container but is
looking up ejb's.
I have a 'client' jar I m
The question is better stated as the following:
1- how to ENC lookups from a remote container.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861956#3861956
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861956
When running a java application outside of the container (non servlet) I am
having trouble looking up ejb's using the enc naming structure of:
Object obj = ctx.lookup("java:comp/env/ejb/WorkplaceSessionBean");
But, if I change it to:
Object obj = ctx.lookup("ejb/WorkplaceSessionBean");
it works.
The Answer:
These are the properties:
-Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
-Djava.naming.provider.url=jnp://JBOSS_HOST:1099/
-Djava.security.auth.login.config=login.conf
The login.conf file, pointed to by ?java.security.auth.login.config?, needs to
contain:
Trying to access an ejb from a java application. We have a delegate class
which looks up the ejb successfully 'IF' you are a servlet within the container
which includes the proper ejb references.
It does so like this:
Object obj = ctx.lookup("java:comp/env/ejb/WorkplaceSessionBean");
Works well
On Windows this is not a problem. But on Linux it is showing up.
Have configured JBoss to start on port 9992, not 8080. If something is using
port 8080 like PLONE or something else, JBoss starts up but it 'always' give
the error message about web-console unable to start because port 8080 alread
We are using jboss 3.2.3 and using a security contraint for NTLM. We can authenticate
fine. But once authenticated, our forms that have 'input' fields on them are 'lost'
when submitted.
They are being submitted with an action="post".
If I remove the security constraint, the application works
Thanks, that worked.
I did not understand at the time, the the tmp/deploy directory is where wars and ears
were deployed to, and that the serever/default/deploy dir would work for me.
Basically, I thought everything went from there to the tmp. But now I see that only
if it is to 'be' deployed.
I would like to deploy (loosely speaking) a simple web app that is not much more than
a helloworld.jsp. Under Tomcat I can create a context directory, have a WEB-INF empty
dir there and a single JSP file in the context dir.
How(if i can) do something similar in JBoss if I don't have a war file
13 matches
Mail list logo