=... /
| property name=hibernate.dialect
| value=org.hibernate.dialect.MySQLDialect /
| /properties
| /persistence-unit
| /persistence
|
Please help.
kuvera
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp
We have a linux server behind a firewall, with JBoss 4.2 GA. All clients are
remote on the internet, with ADSL connections. One network is behind a
firewall, and there are simple connections, too.
Now I measure the times of EJB roundtrips on a simple connection. Normally they
are around 200
Thank you.
As is stated in JBossInstallation wiki
anonymous wrote :
| Invoking startdatabasemanager via jmx-console doesn't work in this
configuration (for Hypersonic) It doesn't work either in the configuration of
RunJBossAsAServiceOnWindows which is almost the same. It runs with run.bat
It works, vow. Thank you.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4047069#4047069
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4047069
___
jboss-user mailing list
I meant the Manager Tool, sorry for being unclear.
Currently I read EJB 3.0 book, and I would like to follow the examples. That's
why I'd like access to the Manager Tool. Otherwise I will use Mysql.
Could you please describe how the MT is started if the service is already
configured?
View the
Is there a way to run it by hand if JBoss runs as a Windows service?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4046898#4046898
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4046898
So far I have used 4.2.0 CR versions on Windows. Now I have tried GA and to my
surprise no web applications work.
Startup messages and server log seems normal (although so far startup used to
be 20-40 sec, now it's 5-8 sec), but no errors, no exceptions.
Then a request localhost:8080 and the
Sorry for the false alarm, it was my fault, malforming xml (deployment URLs).
But the same old bogus No META-INF/application.xml error for EARs still
persist (http://jira.jboss.com/jira/browse/JBAS-4350?watch=true)
View the original post :
In default/conf/jboss-service.xml towards the end you find DeploymentScanner
settings. Change the URLs attribute:
| attribute name=URLs
| deploy/,file:/srv/images/
| /attribute
|
If there's a slash at the end, the directory is treated like deploy, and all
Thank you.
I admit I have a hard time understanding the UsingJBossBehindAFirewall wiki.
It refers to services, which I know little about (users guide is too much for
my head). Do I need RmiPort (1098)? Do I need jrmpInvoker or pooledInvoker
(/4445), or both? I don't have a clue.
Do these
Could somebody please explain to me this exception I get on the client side?
| org.jboss.remoting.CannotConnectException: Can not get connection to
server. Problem establishing socket connection for locator - InvokerLocator
[socket://127.0.0.1:3873/]
| at
is
java.rmi.UnknownHostException: Unknown host: kuvera; nested exception is:
| java.net.UnknownHostException: kuvera]
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587
My program gets past JNDI lookup to remote host, but fails when it actually
invokes the method on the remote object. I suspect I need some more ports other
than 1098,1099,, but I'm not sure. I get this exception:
| org.jboss.remoting.CannotConnectException: Can not get connection to
Until now I tested my EJB's from localhost, but as soon as I change localhost
to a remote address I get this:
javax.naming.CommunicationException: Could not obtain connection to any of
these urls: 192.168.1.2:1099 and discovery failed with error:
javax.naming.CommunicationException: Receive
Thanks for writing.
I have just a few minutes ago figured out how I can bind an address with the -b
switch. You question suggests that I can bind more. How?
Also, on windows with JavaService.exe, how do I pass the bind address to JBoss?
View the original post :
I reply my own questions for the sake of posterity, that is me, when I forget
it :)
JavaService.exe -install jboss c:\App\J\jdk6\jre\bin\server\jvm.dll
-Djava.class.path=c:\App\J\jdk6\lib\tools.jar;c:\App\jboss\bin\run.jar -start
org.jboss.Main -params -b 0.0.0.0 -stop org.jboss.Main -method
Thank you, that's also good to know.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4043405#4043405
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043405
___
jboss-user mailing
Can I mount a context name to a differently named URL path? That is,
http://servername/myurl would invoke JBoss context mycontextname.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4042720#4042720
Reply to the post :
Yes, I read that. It is a little bit technical for the mortal, though, with all
those MBean references. This is why I asked for reinforcement.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4041648#4041648
Reply to the post :
Hello,
I have an EAR with EJB's only. Which ports shall I request from the firewall
admin so that it will work with remote clients? Do the clients need the same
ports open?
Having read the wiki, I would guess 1098+1099+, all TCP, on both sides, but
I'm not sure.
View the original post :
AFAIK there is no automatic inclusion of jar files in an EAR. You can define
them in application.web:
| module
| javamyjar.jar/java
| /module
|
And you place it in the root dir. of the EAR.
View the original post :
Sorry, application.xml
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4038326#4038326
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038326
___
jboss-user mailing list
Thank you for clearing this up for me, too.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4038515#4038515
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038515
___
jboss-user
I have an exploded ear. All meta info is in place. At JBoss startup it is not
deployed, but when I redeploy it manually with MainDeployer it IS deployed.
What's wrong?
--
15:33:33,515 ERROR [MainDeployer] Could not initialise deployment:
file:/C:/Wk/prg/Java/Spekker/spekker.ear
The xml one more time :)
| application
| display-nameSpekker Ear/display-name
| module
| ejbspekker-ejb.jar/ejb
| /module
| /application
|
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4037964#4037964
Reply to the post
Yes, I did. I have several exploded wars, and currently this one EAR outside of
deploy, and it seems OK. It is just that EAR does not deploy automatically on
startup, only manually.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4038075#4038075
Reply to the
A little longer, but like this:
| attribute name=URLs
| deploy/,
| file:/C:/Wk/prg/Java/Minta2/minta2.war,
| file:/C:/Wk/prg/Java/Pdf/pdf.war,
| file:/C:/Wk/prg/Java/Spekker/spekker.ear
| /attribute
|
View the original post :
After my servlet is run, JBoss returns an inconsistent and usually bad http
response mime type to the browser. Mostly it becomes application/octet-stream
instead of application/pdf which I explicitly set. But not always... This is
the output part:
| ServletOutputStream out =
I have a servlet that generates a pdf file, and returns it inline to be
displayed by the browser:
res.setContentType(application/pdf);
res.setHeader(Content-disposition, inline; filename=arajanlat.pdf);
bos = new BufferedOutputStream(out);
// Simple read/write loop sends the bytes
Sometimes the
One more thing: it comes through an Apache server with mod_jk, if it matters,
but actually the only change I made was replacing Tomcat with JBoss.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4029321#4029321
Reply to the post :
I keep all my work under c:\Wk, which I save regularly.
Can I use JBoss in a way that war and ear directories are somewhere under this,
as unpackaged archives, and JBoss deploy directory only refers to them? In
standalone Tomcat I did it like this: there was a contextname.xml under
So this was the minta2.xml:
| Context
| path=/minta2
| docBase=c:/Wk/prg/Java/Minta2/web
| workDir=c:/Wk/prg/Java/Minta2/web/WEB-INF/build /
|
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4029119#4029119
Reply to the post :
Thank you for your answer, Peter.
I admit I was hoping for a nicer solution, but what can we do? My project
directories have src,doc,notes and deploy subdirectories and I use the main dir
as a Project dir in eclipse. So it seems I will have to rename all deploy
subdirs to contextname.war and
is the above process done in JBoss?
TIA,
kuvera
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026858#4026858
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026858
___
jboss-user mailing
34 matches
Mail list logo