hi
hard to say what your mistake is. for me it works. see the trailblazer from
jboss which is very helpful and up-to-date:
http://trailblazer.demo.jboss.com/EJB3Trail/
the basic idea if you are using your own datasource is about that
1) code incetion:
@PersistenceContext(unitName = "YourEntityM
hi
jboss fulfills the latest sun spec, which changed the lookup.
try this
ctx.lookup("yourEJBProject/BeanName/remote|local");
|
regards,
patrick heusser
--
patrick heusser
http://www.x8ing.com/fractal/
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947
hi
for me this worked for swing apps as well as JUnit tests (which run in separate
JVM).
1) add to java installation where the server is running:
lib/security/java.policy the following line in grant section:
permission java.security.AllPermission;
2) on the client in java somewhere in a init
hi alex
thanx for your test. i redid the whole thing for myself. here are my findings:
first: you're right. it works.
my problem was a missconfiguration within the jboss plugin which launches the
server out of eclipse.
i must admit being a little embarrassed now. alex: a big, big thank you fo
hi
i resolved the problem: the WAR works fine with the ZIP distribution of the
4.0.4.GA. that the installer must be the problem...
may be it's a feature, but for me it was not clear, that when installtion JBoss
using the installer, it would not be possible to use servlets anymore...
regards,
hi
i resolved the problem: the WAR works fine with the ZIP distribution of the
4.0.4.GA. it seems, that the installer seems to be the problem.
may be it's a feature, but for me it was not clear, that when installtion JBoss
using the installer, it would not be possible to use servlets anymore...
hi
i created a very simple WAR with one servlet. The WAR runs perfectly on my
Jboss 4.0.4.CR2 and also without any problems on a tomcat 5.5.17.
unfortunately, it throws a NoClassDefFoundError: javax/servlet/http/HttpServlet
exception on my 4.0.4.GA installation.
i used the wizzard to create a
hi
the class which is not found is: HttpServlet which is definitly in the
distribution contained in the file /server/lib/javax.servlet.jar
i made some further investigations using a plaine tomcat 5.5.17 installation. i
deployed the war and it runs without any problems.
i ask myself: is there a
hi
i created the simplest servlet that you could imagine. it returns "ok" and is
placed within a WAR file. by deploying it on my JBoss 4.0.4 GA i get a
NoClassDefFoundError.
my installation is fresh installed by the wizard, by clicking on the option
"EJB 3" support. everything else is standard
hi
thx for your intput. it's exactly as you expected it, the bean later calls
other beans, within the same transaction. at this point, the async bean already
startet with the work.
i think, that the EntityManger.flush() method does not help me, because the
date is transfered to the DB, but not
hello there. a conceptual question:
i have a stateless session bean which processes and writes some entities. i
want to start a jboss message driven POJO which performs some calculations
which take very long and are not important for the bean.
the problem: at the moment where the async bean i
hi
i had exactly the same problem with my own implementation. i'm using the jboss
4.0.4.CR2 version and recreate the timer in my timeout action.
unfortunately i have somehow the problem to reproduce the behaviour. it occurs
by hazard!
granby: did you figured out something?
Patrick Heusser
--
hi martin
i had the same problem. thx for answering your question yourself! therefore i
was able to solve it using google query in just a few seconds.
thx, patrick
--
patrick heusser
http://www.x8ing.com/fractal/
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&
hi
thx for that many tips. i figured out, that i somehow missunderstood the
packaging of the jboss 4.0.4 server. it seems that ejb 3.0 components are NOT
part of it. after installing the latest version, ervything run fine :-)
i further think, that bill is not right tough. since i realized, that
hi
i downloaded a fresh copy of JBoss 4.0.4 RC1, dropped the EAR in the deploy
folder and tried the Calulator. This worked with the former 4.0.3 installation!
As I read in the notes, there's no need to install the EJB 3.0 deployer
manually. So why does it not work? any ideas? has anyone the sa
hi
in the meantime i figured out how to solve the problem. for everyone who is
interested here my solution:
there are two possible solutions. first hibernate deleted my tables, to avoid
that include
in the persistence.xml.
an other way is to specifiy the table in the column entity annotation
hi
i use jboss-4.0.3SP1 and have a problem with blobs in my mysql database.
i create a table using a sql script which defines a "mediumblob" type. i use
then an entity with the annotation @Lob (type=LobType.BLOB).
when i deploy, the container changes my datatype from "mediumblob" to
"tinyblob
17 matches
Mail list logo