Thanks, that worked.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955131#3955131
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955131
Using Tomcat but need to do more? Need to support web services, security?
Get stu
Hi, I'm reading the article at the following path:
http://www.javaworld.com/javaworld/jw-08-2004/jw-0809-ejb-p2.html
which says that the following signature for a slsb:
@Stateless
@Remote
public class HelloWorldBean {
public String sayHello() {
return "Hello World!!!";
}
}
should b
Hi, I tried the @GeneratedValue(strategy=GenerationType.AUTO) annotation on an
entity mapped to a table with auto pk on and it worked fine. Then I tried to
use the @TableGenerator as follows:
| @javax.persistence.Id()
| @javax.persistence.Column(name = "ID")
| @TableGenerator(name
Hi, I created an mdb, that follows:
| package uk.co.jemos.ejb3.mdbs;
|
| import javax.annotation.Resource;
| import javax.ejb.ActivationConfigProperty;
| import javax.ejb.MessageDriven;
| import javax.ejb.MessageDrivenContext;
| import javax.jms.JMSException;
| import javax.jms.M
I do apologize. There was evidently an error in the interface declaration which
lead to ClassCastException. An evident blunder. Could this post please be
garbage collected?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954879#3954879
Reply to the post :
h
Hi, I'm new to EJB3, so I'm probably missing something but here it goes...
I developed a very simple slsb to manage Employees. Following the book I'm
reading I created the business interface and implemented it from within the sb.
So far so good. I'm studying EE 5 because I want to introduce the
Yeah, I got the same problem. Tried with 3873 and everything works fine, with
another port it doesn't. Do you know if there is a task in JIRA for this?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954862#3954862
Reply to the post :
http://www.jboss.com/ind
Is is correct to say that the LifeThread is the Thread which keeps Jboss alive
and that the ShutDownHook is used to remove all services when Jboss is shut
down?
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924882#3924882
Reply to the post :
htt
I wanted to add a comment to my previous posting: if it's true that
deployment-based scoping will cause a ClassCastException in case a component in
App2 tries to get through JNDI a component in App1, it is true that in the
following scenario, only through deployment-based scoping it will be poss
I was posting a similar problem. I think it has to do with the deployment-based
scoping. This is my scenario:
App1.ear -> Contains a session bean, registered in JNDI
App2.ear -> Contains a session bean, registered in JNDI, which retrieves and
invokes a business method on session bean of App1
If
I think I found the problem:
The java.naming.factory.url.pkgs property should have been set to:
| org.jboss.naming:org.jnp.interfaces
|
rather than org.jboss.naming.client
At least I tried now with this new property and it works fine.
View the original post :
http://www.jboss.org/inde
"darranl" wrote : What are the properties that you are putting into the
InitialContext constructor? I know you say that the lookup of your session
beans works but unless you have specified otherwise you are probably obtaining
them from a different namespace.
|
| Also when posting errors ca
Hi, I have got a Simple ServiceLocator which performs a lookup on a datasource
and returns such datasource to a session bean (which then uses it to perform
straight SQL).
During the lookup I get the following exception (also if I try to lookup the
datasource from a plain java class):
| java
Hi, I'm using automatic pk with MySQL. The entity bean declares the unknown pk,
the records gets added, but after each .create() method the application server
comes back with a CreateException, because the key was null.
I don't think this is the correct behaviour, because an EJB should be
indep
This is the output of the JBoss log file in DEBUG mode:
|
| 2005-06-23 23:34:53,750 DEBUG
[org.jboss.security.plugins.JaasSecurityManagerService] Created [EMAIL
PROTECTED]
| 2005-06-23 23:34:53,750 DEBUG
[org.jboss.security.plugins.JaasSecurityManager.jmx-console] CachePolicy set
to: [
Hi, I'm following the instructions (quitly unanimous) about how to (simply)
secure a JMX console.
Although it seems I can login, a 403 error message is returned. Here is what I
did:
uncommented what had to be uncommented from the web.xml and jboss-web.xml under
the jmx-console.war folder.
V
Hi, I'm going through 'JBoss 4.0 The Official Guide' and reading LISTING 2.8
about a way to configure log4j.xml to obtain into a log file a verbose
description of the Classloading mechanism. I tried that on my jboss 4.0.2 and,
although it works, once the server has started there is a Thread whic
I can confirm that Jboss 4.0.2 runs fine with Java 5. I'm running Windows XP
SP2 with JDK 1.5.0_03.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880343#3880343
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3880343
If I had to use JAXP 1.3 with my application, I would have bundled it with the
deployable, rather than changing the server core libraries, unless there are
class loading issues.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880275#3880275
Reply to the post
Hi, I'm running Windows XP SP2, With JDK 1.5.0_03, Jboss 4.0.2 (binaries)
downloaded from SF.
I've got the following JSP page:
|
|
| <%@ taglib prefix="jemos" uri="jemosStats" %>
| <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"; %>
| <%@ taglib prefix="fmt" uri="http:/
Scott, I took example from your policy file, with few differences. I'm trying to rely
on the default security mechanism that the security model follows in order to find the
security policy of an application, that is the intersection between the
${java.home}/jre/lib/security.policy and ${user.hom
Hi, I'm studying Java Security, and trying to run JBoss with the default sandbox
parameters.
I set several permissions so far, and now I'm getting the following exception:
| java.security.AccessControlException: access denied
javax.management.MBeanServerPermission: name=createMBeanServer
Well, I put the ejb.jar and web.war in an application file (.ear) and it deployed
fine.
Now the question is why? Why if an EJB is defined with a class extending the real
session/entity it doesn't deploy if hot-deployed as a jar but it does deploy as ear?
I'll investigate on this and I'll get b
23 matches
Mail list logo