[JBoss-user] [Installation, Configuration Deployment] - Re: JBoss 4.0 Logging Related Problems.

2006-03-14 Thread peake
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=bbop=viewtopicp=3930221#3930221

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3930221


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - jboss-client.xml - where do I put it.

2005-02-02 Thread peake
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.xml descriptor.  Is this 
separate and distinct from the first file?  
Is it a separate deployable object?

Seems my initially problem is addressed by the wiki, but I am stumbling on the 
actual implementation of the solution.

thanks.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3864847#3864847

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3864847


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: jboss-client.xml - where do I put it.

2005-02-02 Thread peake
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 finding it on client side, but cannot resolve it.
Isn't that correct?

So, my jboss-client.xml names it 'importer-client'.  But that is the client 
asking for something that is 'registered' how?

Example:
jboss-client

jndi-nameimporter-client/jndi-name
!-- EJB References --
ejb-ref
ejb-ref-nameejb/UserInfoSession/ejb-ref-name
jndi-nameejb/UserInfoSession/jndi-name
/ejb-ref
ejb-ref
ejb-ref-nameejb/WorkplaceSessionBean/ejb-ref-name
jndi-nameejb/WorkplaceSessionBean/jndi-name
/ejb-ref
. more

The same same article/wiki says this:
  defined in the standard application-client.xml

I have ears and ejb jars.
Do I need to have some other deployment descriptor to register this?
I am guessing yes.

any article doc would be appreciated.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3864902#3864902

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3864902


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: How can I create an Application client that has a java:c

2005-02-01 Thread peake
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 create some kind of special 'client' application that registers this 
special jboss-client.xml.  I tried a few places but when I tried my client 
application, it said the 'importer-client' which is the name I used in my 
jboss-client.xml file, was not 'bound.  
So, it looks like it wants to work if I can just deploy this 'thingy' correctly.

Do I put it in the ear that deploys the ejb's?
What is the application-client.xml that the link talks about?
Do I need one of those?
Do I need to create some 'new' type of application?
I looked at documentation and could not find this, but that is probably user 
error.
Help!

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3864741#3864741

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3864741


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - How can I create an Application client that has a java:comp/

2005-01-28 Thread peake
This goes back to problem I posted recently:
http://www.jboss.org/index.html?module=bbop=viewtopict=58775
and
http://www.jboss.org/index.html?module=bbop=viewtopict=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 must use and can't change formally to get the ejb's.
So it doesnt' wor cause I can't look up an ejb using the private ENC naming of 
java:/compent/ejb/somesessionbean but that is what the client jar uses.
Cause of the private application space.

Someone suggested in response to this that I setup my own namespace for 
java:comp/ent etc.
How would I do this?  Go about it?
etc.
thanks!!!

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3864189#3864189

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3864189


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - enc ejb context from a java application

2005-01-13 Thread peake
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.
I do not have control over this though as I am supplied a jar.
I have tried the following VM parameters to overcome but without success.
Can someone shed some light?

-Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory 
-Djava.naming.provider.url=jnp://JBOSS_HOST:1099/ 
-Djava.security.auth.login.config=login.conf 

with login.conf being:
jboss_client { 
org.jboss.security.ClientLoginModule required; 
};

It still does not seem to work.

thanks-
chris

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3861946#3861946

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3861946


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: enc ejb context from a java application

2005-01-13 Thread peake
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=bbop=viewtopicp=3861956#3861956

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3861956


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: javax.naming.NameNotFoundException: comp not bound

2005-01-11 Thread peake
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:

 
jboss_client {

org.jboss.security.ClientLoginModule required;

};

 

Your remote application needs to authenticate before making any EJB (delegate) 
calls.  This is the code:


LoginContext lc = new LoginContext( jboss_client, new TextCallbackHandler() );

lc.login();

The TextCallbackHandler is an example that prompts for credentials from the 
console.  Your app may instead opt to implement a custom callbackhandler that 
gets credentials by some other means?depends on requirements.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3861596#3861596

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3861596


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - javax.naming.NameNotFoundException: comp not bound

2005-01-10 Thread peake
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.
But, if I write a java application and I use the delegate class to get the ejb, 
the above call now fails with the NameNotFoundException.

As a quick test I wrote a look up in my application (non servlet) and it works 
if I do the following:
// the physical name
Object obj = ctx.lookup(ejb/WorkplaceSessionBean);

Is there an environment setting/property I can set to still use the supplied, 
out of my control helper class of delegate:
I am currently using the following:
-Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
-Djava.naming.provider.url=jnp://localhost:1099

I am using 4.0.1 but do not believe that to be related. Seems I am missing a vm 
parameter.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3861463#3861463

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3861463


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - web-console trying to start on port 8080

2004-11-11 Thread peake
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 already 
in use.
But, it continues to start.  If the port 8080 is NOT in use, bringing up JBoss 
does not have any problems and when it comes up I can go to 
localhost:9992/web-console.

I've tried this same principal of 8080 being in use on a XP box, and JBoss 
never has a problem.

I cannot see any special configuration for web-console related to port 8080 
anywhere.

Any ideas.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3854878#3854878

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854878


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - form input data lost when using security contraints on a pos

2004-11-03 Thread peake
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 fine. (minus the fact no 
security is performed)

If I use ieHttpHeader utility tool, I see the posted data when I am not securing the 
application, but when I turn security back on, the posted data is not present any 
longer on the request.

1-where is the data being lost? What is not putting the posted data on the request?
2-How can I correct.

Thanks

Security contains in web.xml is:
  security-constraint
web-resource-collection
web-resource-nameSecured Content/web-resource-name
Require users to authenticate
url-pattern/secure/*/url-pattern
http-methodPOST/http-method
http-methodGET/http-method
/web-resource-collection
auth-constraint
Only allow Authenticated Users role
role-nameUsers/role-name
/auth-constraint
user-data-constraint
Encryption is not required for the application in general.

transport-guaranteeNONE/transport-guarantee
/user-data-constraint
/security-constraint

JBoss-web.xml looks like:
jboss-web
security-domainjava:/jaas/pdk-eiam-security/security-domain

ejb-ref
ejb-ref-nameejb/UserInfoSession/ejb-ref-name
jndi-nameejb/UserInfoSession/jndi-name
/ejb-ref

/jboss-web

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3853781#3853781

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853781


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Not using a war/ear as in Tomcat.

2004-08-06 Thread peake
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.

Thanks much.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844425#3844425

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844425


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Not using a war/ear as in Tomcat.

2004-08-03 Thread peake
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?

I know this it not preferred.  I'm just trying to learn and this is the first thing I 
tried that did not work as it did in Tomcat.

Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3843998#3843998

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843998


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user