[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate/JPA jars

2007-11-01 Thread kuvera
=... / | 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

[jboss-user] [Installation, Configuration Deployment] - connection speed problems

2007-07-04 Thread kuvera
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

[jboss-user] [JBoss Getting Started Documentation] - Re: Can not start the Hypersonic Manager Tool

2007-05-20 Thread kuvera
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

[jboss-user] [JBoss Getting Started Documentation] - Re: Can not start the Hypersonic Manager Tool

2007-05-20 Thread kuvera
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

[jboss-user] [JBoss Getting Started Documentation] - Re: Can not start the Hypersonic Manager Tool

2007-05-19 Thread kuvera
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

[jboss-user] [JBoss Getting Started Documentation] - Re: Can not start the Hypersonic Manager Tool

2007-05-18 Thread kuvera
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

[jboss-user] [Installation, Configuration Deployment] - 4.2.0 GA - WebService problem

2007-05-14 Thread kuvera
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

[jboss-user] [Installation, Configuration Deployment] - Re: 4.2.0 GA - WebService problem

2007-05-14 Thread kuvera
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 :

[jboss-user] [Installation, Configuration Deployment] - Re: JBoss 4.2 Context.xml docBase ignored?

2007-05-14 Thread kuvera
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

[jboss-user] [Remoting] - Re: what does this mean?

2007-05-14 Thread kuvera
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

[jboss-user] [Remoting] - what does this mean?

2007-05-12 Thread kuvera
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

[jboss-user] [Beginners Corner] - hostname

2007-05-11 Thread kuvera
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

[jboss-user] [Beginners Corner] - Socket problems when invoking EJB method

2007-05-05 Thread kuvera
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

[jboss-user] [Beginners Corner] - CommunicationException

2007-05-04 Thread kuvera
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

[jboss-user] [Beginners Corner] - Re: CommunicationException

2007-05-04 Thread kuvera
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 :

[jboss-user] [Beginners Corner] - Re: CommunicationException

2007-05-04 Thread kuvera
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

[jboss-user] [Beginners Corner] - Re: CommunicationException

2007-05-04 Thread kuvera
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

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - JkMount question

2007-05-03 Thread kuvera
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 :

[jboss-user] [Beginners Corner] - Re: ports for EJB

2007-04-28 Thread kuvera
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 :

[jboss-user] [Beginners Corner] - ports for EJB

2007-04-27 Thread kuvera
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 :

[jboss-user] [Beginners Corner] - Re: Where do external jar files go in the ear?

2007-04-18 Thread kuvera
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 :

[jboss-user] [Beginners Corner] - Re: Where do external jar files go in the ear?

2007-04-18 Thread kuvera
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

[jboss-user] [Beginners Corner] - Re: Where do external jar files go in the ear?

2007-04-18 Thread kuvera
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

[jboss-user] [Beginners Corner] - EAR deployer

2007-04-17 Thread kuvera
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

[jboss-user] [Beginners Corner] - Re: EAR deployer

2007-04-17 Thread kuvera
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

[jboss-user] [Beginners Corner] - Re: EAR deployer

2007-04-17 Thread kuvera
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

[jboss-user] [Beginners Corner] - Re: EAR deployer

2007-04-17 Thread kuvera
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 :

[jboss-user] [Installation, Configuration Deployment] - JBoss blows mime type

2007-03-21 Thread kuvera
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 =

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - mime type problem

2007-03-19 Thread kuvera
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

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: mime type problem

2007-03-19 Thread kuvera
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 :

[jboss-user] [Beginners Corner] - working directory

2007-03-18 Thread kuvera
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

[jboss-user] [Beginners Corner] - Re: working directory

2007-03-18 Thread kuvera
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 :

[jboss-user] [Beginners Corner] - Re: working directory

2007-03-18 Thread kuvera
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

[jboss-user] [Beginners Corner] - basics

2007-03-10 Thread kuvera
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