[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS over HTTP with server behind a firewall problem
IT WORKS! Thanks a million catalean! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836503#3836503 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836503 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS over HTTP with server behind a firewall problem
I'm getting 'bean not bound' , guess I'll search on that first. Does everything work for you now catalean ? Can you do a create on your beans home without exceptions ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836387#3836387 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836387 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS over HTTP with server behind a firewall problem
hmm no succes... don't even find my bean. Catalean, may I ask how you layed the connection to the detached http invoker from the 'unknownHostException' ? If I google on 'detached http invoker hostname' I get nothing. Wouldn't there be a way to 'set' the ip correctely after we got the home interface ? So before calling the create we could correct the servers url ? The client does know the ip of the server, so why can't he use it then ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836308#3836308 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836308 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS over HTTP with server behind a firewall problem
Sorry for that Adrian, I found this link by using google. I think the problem is more general then only JMS. Anyway, the solution to cataleans problem is the same as for my problem and thats why I'm on this thread. Catalean, I'll try this tonight and post the result. Hope it works. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836278#3836278 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836278 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: RMI over HTTP , hostname appears in client instead of ip
Hello, I made a post yesterday but for some reason it got deleted.. I still have the problem after doing all these changes. I took the deploy/http-invoker.sar/META-INF/jboss-service.xml file from http://nemesisit.rdsnet.ro/opendocs/ejboverhttp_f.html and changed external server to my ip adres and port to 8080. I run windows xp,single computer at home so no network. I usually run zonealarm but I turn it off for the tests to avoid problems. I use JBoss 3.2.3 I don't use JMS but I did change the httpilservice also to be sure.. Still the hostname appears on the other side and I get an UnknownhostException when I do the create on my home object.. Can anyone help me please ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836218#3836218 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836218 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS over HTTP with server behind a firewall problem
Another night of searching, still no progress... I have modified my deploy/http-invoker.sar/META-INF/jboss-service.xml like this: http://81.82.xxx.xxx:8080/invoker/EJBInvokerServlet http://81.82.xxx.xxx:8080/invoker/EJBInvokerHAServlet jboss:service=Naming http://81.82.xxx.xxx:8080/invoker/JMXInvokerServlet org.jnp.interfaces.Naming jboss:service=Naming http://81.82.xxx.xxx:8080/invoker/JMXInvokerServlet org.jnp.interfaces.Naming (found that on http://nemesisit.rdsnet.ro/opendocs/ejboverhttp_f.html) With hostname the ipadres of my server, and port 8080. I also modified the jms/jbossmq-httpil.sar/META-INF/jboss-service.xml as you said, to 81.82.xxx.xxx 8080 but I'm not using JMS so I'm not sure if I have to. Since my firewall has been put of, I can use the ip of my machine right ? I wouldn't know what else to use since this is a single pc at home. Meanwhile, I can see in the log that the client tries to connect: 81.164.xxx.xxx - - [25/May/2004:21:57:58 +0100] "GET /invoker/JNDIFactory HTTP/1.1" 200 1278 81.164.xxx.xxx - - [25/May/2004:21:57:58 +0100] "POST /invoker/JMXInvokerServlet HTTP/1.1" 200 2429 Waiting for your answer... Best regards, themuppeteer View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835840#3835840 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835840 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS over HTTP with server behind a firewall problem
Hello, First of all sorry for my rude 'me too' post (didn't read the rules first..) It is with great interest that I have followed this post, and I do have exactely the same problem. Only for me the solution doesnt work, I searched on it the whole evening last night but nothing seems to work. I must be doing something wrong. Platform server: Jboss3.2.3, on windows xp, I normally have zonealarm running but turn it of for the tests. I run Jboss integrated in Jbuilder x. Problem: the same, my client can connect to jndi, but when it does the create on the home interface, I get an 'unknownhostexception' with my windows name. I have use the http-invoker and have changed my deploy/http-invoker.sar/META-INF/jboss-service.xml file, putting the invokerurl (xxx.xxx.xxx.xxx:8080/...) in every mbean I could find there. I also put my pc's name with its ip in the hosts file. Could I please get a little more hints or explanation or the jboss-service.xml file or anything to work with ? thanks a lot. Best regards, themuppeteer (btw, it seems like 2 posts are missing here ?) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835720#3835720 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835720 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS over HTTP with server behind a firewall problem
Hello, I'm having exactely the same problem (I'm searching on it since januari now :(( ) I've trie the 'UseHostName' to false , and all the other suggestions u gave but it still doesnt work. My client keeps getting avax.naming.CommunicationException: Operation failed. Root exception is java.n et.UnknownHostException: ServerPCName at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:143) at java.net.Socket.connect(Socket.java:425) at java.net.Socket.connect( ... (My client is a java application that wants to connect over the internet to my pc (windows XP with zonealarm)) All I want is that my pc sends back it ip and not its windows hostname.. Any help would be highly appreciated.. Best and desperate regards, themuppeteer View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835115#3835115 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835115 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: EJB-lookup over HTTP
Hello bentz, Have you already found a solution for having a connection over the net instead of the lan? I have practiacally the same problem, I also want a client to connect to my application server over the internet and it also doesn't work. Best regards, themuppeteer ([EMAIL PROTECTED] remove the _nospam_ stuff for mails) http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823949#3823949";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823949>Reply to the post --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Application can not connect to JBoss over the internet :((
Hello Guys, I have an application that wants to connect to my JBOSS 3.2.2 application server over the internet. It all runs fine local, but when I run it from another computer, my client can not connect. My application is a Jar file. I removed 2 files from the meta-inf directory SUN_MICR.RSA and SUN_MICR.SF. This had to be done because otherwise I got security exceptions. I think my ISP blocks all ports under the 2000, so I already tried to change ports in jboss-service.xml file. I changed the rmi port and listen port to something bigger, here is the sample...: --- jboss-service.xml - 9099 9098 -- and I connect in my client (and also in my application server, when beans are talking to each other) MyClient code: getInitialcontext private Context getInitialContext(String ip,String port) throws NamingException { Hashtable environment = new Hashtable(); environment.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory"); environment.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); environment.put(Context.PROVIDER_URL,ip+":"+port); environment.put(Context.SECURITY_PRINCIPAL, "guest"); environment.put(Context.SECURITY_CREDENTIALS, "guest"); return new InitialContext(environment); } - I used to place jnp:// before the ip, but I read on a site that I should not do that when working over the internet.. don't know if its true, but anyway my exception changd by removing it (from CommunicationException to ConnectionException). it goes wrong when I try to create the home interface of one to one of my beans = when I use the ctx for the first time... Here is the exception... java.rmi.ConnectException: Connection refused to host: (my ip address); nested exception is: java.net.ConnectException: Connection timed out: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185 ) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101) at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Sour ce) at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvo kerProxy.java:135) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.jav a:96) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor. java:46) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:4 5) at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85) at $Proxy0.create(Unknown Source) at MoehahaClient.Login.jButtonConnect_actionPerformed(Login.java:168) at MoehahaClient.Login_jButtonConnect_actionAdapter.actionPerformed(Logi n.java:276) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17 67) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra ctButton.java:1820) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel .java:419) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257 ) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL istener.java:258) at java.awt.Component.processMouseEvent(Component.java:5021) at java.awt.Component.processEvent(Component.java:4818) at java.awt.Container.processEvent(Container.java:1525) at java.awt.Component.dispatchEventImpl(Component.java:3526) at java.awt.Container.dispatchEventImpl(Container.java:1582) at java.awt.Component.dispatchEvent(Component.java:3367) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3359 ) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3074) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3004) at java.awt.Container.dispatchEventImpl(Container.java:1568) at java.awt.Window.dispatchEventImpl(Window.java:1581) at java.awt.Component.dispatchEvent(Component.java:3367) at java.awt.EventQueue.dispatchEvent(EventQueue.java:445) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh read.java:191) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre ad.java:144) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130) at java.awt.EventDispatchThread.run(EventDispatchThread.java:98) Caused by: j
[JBoss-user] [Persistence & CMP/JBoss] - Re: Try to insert null into a non-nullable column...
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820774#3820774 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820774 I've got the solution. Apperantly, I set the entity command for hypersonic in the root level of my ejb-module, because I needed an autoincrementing key in one bean. But not in this one. The solution was to set the entity command on bean level,so only set it for the bean that needed autoincrementing key. Not for the other. --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Try to insert null into a non-nullable column...
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820652#3820652 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820652 Thanks a lot for your quick reply schmidts. I work with JBUilder X, so everything happens automatically. I created an entity bean, and I added 2 fields, 1 String : levelName wich I indicated as my primary key. And 1 self made class Ground:ground wich contains my int[][][]. Both of the parameters are in ejbCreate. And when I try to create the new record, both of them are filled in. I think (ground) in the error message "Try to insert null into a non-nullable column in statement [INSERT INTO PLAYFIELD (ground) VALUES ..." means it has troubles while inserting into column 'ground',so the primary key is in another column ('levelName') no ? --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Try to insert null into a non-nullable column...
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820638#3820638 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820638 Hello guys, I'm making a game and I want to store the playfield (a 3 dimensional array of ints) into an entity bean. The bean has nothing more than a levelname (primary key) and playfield. (I work with the hypersonic db.) Therefore I created an object (I called it 'ground') that implements serializable wherein there is nothing more then my int[][][]map. When I try to add this into my entity bean , I get the error: 14:19:10,734 ERROR [PlayField] Could not create entity java.sql.SQLException: Try to insert null into a non-nullable column in statement [INSERT INTO PLAYFIELD (ground) VALUES ('aced0005737200246f72672e6a626f73732e696e766f636174696f6e2e4d61727368616c6c656456616c7565eacce0d1f44ad0990c787077f400ecaced00057372000e6d6f65686168612e47726f756e64dd4497af6b6d15c40200015b00036d61707400165b5b5b4c6a6176612f6c616e672f496e74656765723b7870757200165b5b5b4c6a6176612e6c616e672e496e74656765723b46a4b16820df1cdf027872757200155b5b4c6a6176612e6c616e672e496e74656765723b5018476137e7175b027872757200145b4c6a6176612e6c616e672e496e74656765723bfe97ada00183e21b027871707571007e00070001707571007e000500027571007e00070001707571007e00070001708f18b23b78')] at org.hsqldb.Trace.getError(Unknown Source) How comes ? It says it can't be null, but it isn't since you can see the values that are in 'ground'. I have found this question before on the internet but never with an answer. I hope I will get one here. Any hints are highly appreciated since I'm completely stuck... :( Best regards, themuppeteer --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user