How can I get the hello world sample to connect from one computer to
another on a LAN?
http://stackoverflow.com/questions/28923966/
Can I ping/telnet/nmap/netstat/something the server to confirm ports are
open and waiting?
thufir@doge:~$
thufir@doge:~$ nmap 192.168.1.3
Starting Nmap 6.46
Hi
Did you try editing conf/conf.d/httpejbd.properties and set bind = 0.0.0.0?
Le 8 mars 2015 08:10, thufir hawat.thu...@gmail.com a écrit :
How can I get the hello world sample to connect from one computer to
another on a LAN?
http://stackoverflow.com/questions/28923966/
Can I
In Glassfish, you can run client applications with appclient -client
foo.jar for missing dependencies. Is there an analog for openejb-client?
thanks,
Thufir
ps: there are some errors on the hello world example, some of the code
isn't formatted correctly so it's hard to read.
Think you lost me. Tomee remote relies on classifier and tomee embedded on
your pom dependencies nothing more complicated.
Le 7 mars 2015 10:33, mauro2java2011 mauro2java2...@gmail.com a écrit :
but if from the pom :
https://github.com/tomitribe/tomee-jaxrs-starter-project/blob/master/pom.xml
Right you are:
thufir@doge:~$ java -classpath
.:NetBeansProjects/HelloClient/dist/HelloClient.jar:apache-openejb-4.7.1/lib/openejb-client-4.7.1.jar
org.acme.HelloClient
Exception in thread main java.lang.NoClassDefFoundError: javax/ejb/EJBHome
well, at least it starts to go :)
thanks,
Hi Romain. Yes we have also @Startup annoatation.
BR
MAtej
2015-03-07 13:57 GMT+01:00 Romain Manni-Bucau rmannibu...@gmail.com:
Hi
Concurrency should be fine. Is singleton @Startup?
Le 7 mars 2015 12:53, Matej gma...@gmail.com a écrit :
Hi everybody.
We have an annoying problem on
Hi
Concurrency should be fine. Is singleton @Startup?
Le 7 mars 2015 12:53, Matej gma...@gmail.com a écrit :
Hi everybody.
We have an annoying problem on our production system. We have an
Configuration Singleton which reads config things from DB. Then in one MDB
we inject this Singleton to
but if from the pom :
https://github.com/tomitribe/tomee-jaxrs-starter-project/blob/master/pom.xml
https://github.com/tomitribe/tomee-jaxrs-starter-project/blob/master/pom.xml
at this following part :
build
plugins
plugin
groupIdorg.apache.openejb.maven/groupId
are you sure on the usage there? I realize this is now off-topic:
thufir@doge:~$
thufir@doge:~$ java -cp
NetBeansProjects/HelloClient/dist/HelloClient.jar;
apache-openejb-4.7.1/lib/openejb-client-4.7.1.jar
Usage: java [-options] class [args...]
(to execute a class)
or java
Hmm, I'm not running tomee, only openejb. What do you mean it's not
for the client module?
I tried:
java -cp -jar NetBeansProjects/HelloClient/dist/HelloClient.jar;
apache-openejb-4.7.1/lib/openejb-client-4.7.1.jar org.acme.HelloClient
I'm reviewing the Java tutorial on classpath.
We dont have it but java -cp app.jar;openejb-client.jar YourMain can work.
That said it is not for client module.
You can deploy it uncommenting deployments line in tomee.xml, creating an
apps folder and putting your jar inside than start tomee.
Le 7 mars 2015 09:40, thufir
eescuse me but i have mal posed my question:
i not understand :
1) the default tomee embedded used into tomee embedded adaptor arquillan is
:
from : http://tomee.apache.org/downloads.html
http://tomee.apache.org/downloads.html
A web profile
B REST-RS
c Plus
d plume
2) if the response
Hi
Yes just add eclipselink exclude openjpa and same for mojarra and myfaces.
You can also want to add tomee-mojarra (optional) if you use it
Le 7 mars 2015 07:09, mauro2java2011 mauro2java2...@gmail.com a écrit :
Hi All.
I would know what version is used with the tomee embedded adaptor (
You forgot the main
Le 7 mars 2015 10:16, thufir hawat.thu...@gmail.com a écrit :
are you sure on the usage there? I realize this is now off-topic:
thufir@doge:~$
thufir@doge:~$ java -cp NetBeansProjects/HelloClient/dist/HelloClient.jar;
apache-openejb-4.7.1/lib/openejb-client-4.7.1.jar
Thank you for the help:
thufir@doge:~$
thufir@doge:~$ java -classpath
.:NetBeansProjects/HelloClient/dist/HelloClient.jar:apache-openejb-4.7.1/lib/openejb-client-4.7.1.jar:netbeans-8.0.2/enterprise/modules/ext/javaee-api-7.0.jar
org.acme.HelloClient
Mar 07, 2015 2:37:41 AM
Well tomee embedded is based on web profile + few part of plus. You cant
change any qualifier since it uses the classpath so just add normal
dependencies.
Le 7 mars 2015 10:12, mauro2java2011 mauro2java2...@gmail.com a écrit :
eescuse me but i have mal posed my question:
i not understand :
Do the same with tomee/lib*.jar
Le 7 mars 2015 11:02, thufir hawat.thu...@gmail.com a écrit :
Right you are:
thufir@doge:~$ java -classpath .:NetBeansProjects/
HelloClient/dist/HelloClient.jar:apache-openejb-4.7.1/lib/openejb-client-4.7.1.jar
org.acme.HelloClient
Exception in thread main
Hi everybody.
We have an annoying problem on our production system. We have an
Configuration Singleton which reads config things from DB. Then in one MDB
we inject this Singleton to control operation based on configs. Our problem
is that the system is quite heavely loadded and while the system
You should be able to delegate to another singleton in your mdb. Dependson
would work then
Le 7 mars 2015 20:31, Matej gma...@gmail.com a écrit :
Hi Romain. Yes we have also @Startup annoatation.
BR
MAtej
2015-03-07 13:57 GMT+01:00 Romain Manni-Bucau rmannibu...@gmail.com:
Hi
The @DependsOn annotation only works for other @Singleton beans.
Definitely use CONTAINER concurrency. Understand that this code is just a
plain jvm ReentrantReadWriteLock under the covers. It would be hard to do much
better.
-
20 matches
Mail list logo