The reference is coming from the 1.2J2EE spec. The corresponding section
from the
1.3PFD3 J2EE spec is below. JBoss does not currently provide an application
client container and that is what is required to have access to the full
array of
J2EE resource managers.
J2EE.6.2.4.8 JNDI
A J2EE product
As I said in the previous mail, look at the jbosstest cvs module unit test
code in
src/main/org/jboss/test/web/servlets/ClientLoginServlet.java
It does exactly what you are talking about.
- Original Message -
From: "Ivan Novick" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday,
And if we had an Application Client Container it would remove any of my
complaints about the business of remotable datasources - they wouldn't
be remote anymore.
David Jencks wrote:
> Please state where your reference is from.
>
> I consulted the j2ee-1_3-pfd3-spec.pdf which makes it quite cl
JBoss team,
After reviewing the archives it seems several people have had similar
problems to this one. So I am assuming either its a bug or something that
is complex to implement. Either way just wanted to pass it along:
When accessing an EJB from a servlet that hardcodes the JAAS password, o
Please state where your reference is from.
I consulted the j2ee-1_3-pfd3-spec.pdf which makes it quite clear that
Application Clients for j2ee apps are running in an Application Client
Container providing various services, such as JDBC DataSource lookup. See
for instance section 9. Jboss is an
As much as I understand your explanation as to why JBoss doesnt support client lookup
of Datasource objects, Section 6.9 JNDI 1.2 requirements clearly states that "a J2EE
product must make available in the application specific namespace - EJBHome objects,
JTA User Transaction objects, JDBC API
"only available from within a J2EE component". This is the key. JBoss
pooled connections are only available from within EJBs, not standalone
client apps. This topic has been covered numerous times here. There are
several open source general-purpose database pools that can be used from
standalo
> > Alright,
> > Try this...
> >
> > 1. Remove the ejb-ref from your web.xml
>
> Why would he need to do that? It should work with it there; in fact it
> _shouldn't_ work without it there (logically, I don't know that bit of
> JBoss' code)
Actually, it wouldn't work until I took it out. I did
Jure Lodrant wrote:
> Dne sobota 07 julij 2001 04:25 ste napisali:
>
>> Jure, sorry if you see this twice, sourceforge has decided to not like
>> my mail account so I've sent this directly to you in addition to trying
>> to send to the list.
>>
>> If you look at the server.log file in the log d
No, that was in quite a while ago. 2.2.x definately has it
Perry Q Hertler wrote:
> At http://jboss.org/documentation/HTML/ch05s07.html
> "Custom finders coded in your beans" is described.
> Has this only been made available since JBoss 2.4?
>
> Thanks,
> Perry
>
> ___
Frank Marx wrote:
> Hi,
>
> the question was why I cannot do it ? The question was not why I want to do
> this without using EJB,
> the challenge was to find out how can I use JNDI to do that from a
> standalone JAVA Client
> which accesses a JNDI Service.
>
> But as far as I know now it is pos
O ok got it, RTFE
You have to declare categories as:
log4j.category.NameOfTheCategory
Cheers,
Vladimir
On 2001.07.07 20:30 Vladimir Blagojevic wrote:
> Hey there,
>
> How do you log different categories to different files? Couldn't find it
> log4j doco so I am guessing here.
>
> I tried decl
It means you need a different JDBC driver 8^}) Grab one of the inet drivers.
Seriously, if you look in the server.log there should be the full
exception stack trace from where things go wrong on the server. This
will tell us what that driver doesn't want to do.
I assume this is either version
works fine for me
marc fleury <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
07/07/2001 07:19 PM
Please respond to jboss-user
To: "Jboss-User@Lists. Sourceforge. Net"
<[EMAIL PROTECTED]>,
"Jboss-Development@Lists. Sourceforge. Net"
<[EMAIL PROTECTED]>
cc:
Vinay Menon wrote:
> Alright,
> Try this...
>
> 1. Remove the ejb-ref from your web.xml
Why would he need to do that? It should work with it there; in fact it
_shouldn't_ work without it there (logically, I don't know that bit of
JBoss' code)
-danch
> 2. Change your jboss-web.xml from
G.L. Grobe wrote:
>
>
>
>
>
>
>
>
>
>
>
> ejb/DBaseFetchHome
> ejb/DBaseFetchHome
This should just be 'DBaseFetch', unless you override the ejb's
jndi-name in jboss.xml. Also, do you have a web.xml that declare's the
ejb-ref?
>
>
>
>
>
>
hoping my email
Hey there,
How do you log different categories to different files? Couldn't find it
log4j doco so I am guessing here.
I tried declaring the following in log4j.properties:
log4j.NameOfTheCategory= DEBUG, NameOfTheCategoryFileLog
log4j.appender.NameOfTheCategoryFileLog=org.apache.log4j.FileAppe
hey it seems to work and we are quite a few throwing messages around, try
again
marcf
|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of John Collins
|Sent: Saturday, July 07, 2001 8:30 PM
|To: [EMAIL PROTECTED]
|Subject: Re: [JBoss-user] For those that
Peter,
You're right. I just moved to JDK 1.3.1 and everything
works great. Thanks.
Tom
[EMAIL PROTECTED] wrote:
>
> Tom Marrs wrote:
>
> > Philipp,
> > I've tried both things that you suggest. According to everything that
> > I've read on JNDI, you should be able to use the directory where jnd
marc fleury wrote:
>
> can you do me a favor and
>
> surf to
>
> http://www.jboss.org:8081/jive/index.jsp
>
> and try posting a few messages we are testing jetty
Navigation problem, I guess. I logged in and then tried to reply to a
message, and got sent back to the login screen. So, I logge
Tom Marrs wrote:
> Philipp,
> I've tried both things that you suggest. According to everything that
> I've read on JNDI, you should be able to use the directory where jndi.properties
> resides in your classpath, but I can't make this work. I don't understand.
> I'll just have to hardcode everythi
Hi,
I need to define in the Ejb descriptor the session timeout and the max
number of beans loaded at any time. Could someone provide an example of the
syntax that I need to use? or is there another way to configure this in
JBoss?
Thanks.
Felix.
__
Philipp,
I've tried both things that you suggest. According to everything that
I've read on JNDI, you should be able to use the directory where jndi.properties
resides in your classpath, but I can't make this work. I don't understand.
I'll just have to hardcode everything for now until I get more
Hello,
I get this error when trying to create("") a CMP
bean. If anybody knows what this is I would really appreciate help!
Thanks Guy.
javax.ejb.CreateException: Could not create
entity:java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Optional
feature not implemented at
Look at the org.jboss.test.web.servlets.ClientLoginServlet in the jbosstest
cvs module for how to do this.
- Original Message -
From: "Ivan Novick" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 07, 2001 11:04 AM
Subject: Re: [JBoss-user] JBossSx -- Authentication Except
My war now loads successfully in JBoss, but when I
browse the URL that includes the servlet, I get the following
error:
[EmbeddedTomcatSX] javax.servlet.ServletException:
ejb not bound[EmbeddedTomcatSX] at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.j
My setup is different because I am using a servlet as a client instead of a
main function. A username and password are hardcoded into the servlet for
accessing the EJB. The user is not logging in via JAAS I just dont want any
program besides the servlet to be able to access the EJBs.
Should the
Hi,
the question was why I cannot do it ? The question was not why I want to do
this without using EJB,
the challenge was to find out how can I use JNDI to do that from a
standalone JAVA Client
which accesses a JNDI Service.
But as far as I know now it is possible, because the use of JNDI is no
Title: Tomcat 4.0 + Jboss 2.2
this
method does not run them in the same VM. - I have not seen this done
yet. - Sorry, I'm not aware of any peformance
statistics.
-john
-Original Message-From: Patrick Munis
[mailto:[EMAIL PROTECTED]]On Behalf Of Patrick
MunisSent: Saturd
Compare your setup to the tutorial as what your doing is exactly what it
does. You do not have something configured correctly.
- Original Message -
From: "Ivan Novick" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 07, 2001 9:56 AM
Subject: Re: [JBoss-user] JBossSx -- Au
On Fri, Jul 06, 2001 at 06:20:46PM -0600, Tom Marrs wrote:
> Hi,
> I'm new to JBoss and JMS, although I've used the J2EE
> on other app servers. I've got a couple of questions about
> connecting to JMS queues from standalone Java applications
> (i.e., not from an EJB):
>
> 1) I'd like to use the
I am using the 2.2.2 JBoss/Tomcat bundle with the integrated security and I
have followed the security tutorial.
Everything is setup except I am getting the following error:
I am using the org.jboss.security.auth.spi.UsersRolesLoginModule. There is a
servlet trying to access a Session Bean. A
Hi,
I'm trying to lookup a datasource bound to java:/DataSourceName through jndi.
The lookup is done by an rmi-Object. It seems to me that the java:/ Namespace
is not visible from the RMI-Serverobject. But isn't it running in JBoss' VM?
Could someone give me a hint how to lookup a datasource in
Does Tomcat 4.0 (catalina) run in the same VM as Jboss.? Is there any
performance gain between tomcat 3.2.2 and 4.0?
thanks
Patrick
-Original Message-
From: John Menke
Sent: Sat 7/7/2001 10:26 AM
To: [EMAIL PROTECTED]
Cc:
Subj
Title: Tomcat 4.0 + Jboss 2.2
Turbine uses Catalina and the howto shows how to get it running with
JBoss 2.2
http://jakarta.apache.org/turbine/howto/jboss-howto.html
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Patrick
MunisSent: Friday,
Dne četrtek 05 julij 2001 09:40 ste napisali:
> Jure,
>
> As I understand it you are not meant to directly access con.commit() or
> con.rollback() methods from
> within an EJB. If you want to do Bean demarcated transactions, then you
> should use an external (to postgres) transaction manager
> via
Dne sobota 07 julij 2001 04:25 ste napisali:
> Jure, sorry if you see this twice, sourceforge has decided to not like
> my mail account so I've sent this directly to you in addition to trying
> to send to the list.
>
> If you look at the server.log file in the log directory, you should see
> the s
I don't get it. In my example, I am trying to use Bean managed transcactions,
I've tried both JDBC calls as well as JTA calls, both with the same errors.
I assume that my ejb-jar.xml settings are OK though, at least as far as
transaction settings for the bean are concerned.
My ejb-jar.xml:
Alright,
Try this...
1. Remove the ejb-ref from your web.xml
2. Change your jboss-web.xml from
DBaseFetch
ejb/DBaseFetchHome
to
ejb/DBaseFetchHome
ejb/DBaseFetchHome
and lookup the bean as usual.
Should work
Vinay
- Original Messag
Hello,
a) To set up a datasource you need to add it to your jboss.jcml file under
the profile [default/tomcat] you are using. There are datasources set up for
InstantDB and Hypersonic and you can basically copy paste the same and
change the name, the poolname, the url , JDBCUser and Password to s
Can someone fill me in on how to use the
jboss-web.xml file, or why I'm getting this error? I'm just trying to do a
lookup from a Servlet to a session bean.
[Auto deploy] Linking ejb-ref: DBaseFetch to JNDI
name: null[Auto deploy] javax.naming.NamingException: ejb-ref: DBaseFetch,
expected
41 matches
Mail list logo