[jboss-user] [Beginners Corner] - CMP Bean inside CMP Bean

2007-05-11 Thread AlexKomlev
How to use one CMP Entity Bean inside of another CMP Entity Bean. I should register references on beans, but how it make. I'm using XDoclet for generation deployment files. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045123#4045123 Reply to the post : ht

[jboss-user] [JNDI/Naming/Network] - Re: Difference JDK - connection problems

2007-05-04 Thread AlexKomlev
It's work. :-) Then i write -Djava.rmi.server.hostname=192.168.60.46 to the startup params and start JBoss, i can connect to JBoss without problems. Big thank for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043097#4043097 Reply to the post : h

[jboss-user] [JNDI/Naming/Network] - Re: Difference JDK - connection problems

2007-05-03 Thread AlexKomlev
I have found the answer to the question: http://wiki.apache.org/jackrabbit/JackrabbitOnJBoss 2. I get following exception when trying to connect remote jackrabbit repository using jnp port javax.naming.CommunicationException [Root exception is java.rmi.ConnectException : Connection refused to

[jboss-user] [JNDI/Naming/Network] - Re: Difference JDK - connection problems

2007-05-03 Thread AlexKomlev
We don't have many time to research Jboss & Linux problem today. We create domain on Linux server - no effect. We change JDK 5 to JDK 4 - no effect. I have written down JBoss Log files, but they are great what to place them here. I can send their by mail or ICQ (434-983-597) (or through http/ftp)

[jboss-user] [JNDI/Naming/Network] - Re: Difference JDK - connection problems

2007-05-02 Thread AlexKomlev
If a problem in absence of the domain - we shall create ihim. Later I shall write about results. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042700#4042700 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042700 _

[jboss-user] [JNDI/Naming/Network] - Re: Difference JDK - connection problems

2007-05-02 Thread AlexKomlev
That to me to do if the network has no domains? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042603#4042603 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042603 ___ jboss-u

[jboss-user] [JNDI/Naming/Network] - Re: Difference JDK - connection problems

2007-05-02 Thread AlexKomlev
You right, we didn't started with -b option (It can help?) I don't remember host file exactly. 127.0.0.1 localhost ... (full name i forget) 192.168.60.46 mcbc24 Console log will be tomorrow. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042568#4042568 Reply

[jboss-user] [JNDI/Naming/Network] - Re: Difference JDK - connection problems

2007-05-02 Thread AlexKomlev
JBoss-4.0.5.GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042519#4042519 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042519 ___ jboss-user mailing list jboss-user@lists

[jboss-user] [JNDI/Naming/Network] - Re: Difference JDK - connection problems

2007-05-02 Thread AlexKomlev
I know that 127.0.0.1 is incorrect adress :-) and read your instructions on the other post. And i write in begin of my last post about effect: I change Linux Hosts file - no effect I change startup VM params in run.sh - no effect More that, i try change JBoss conf file, if find reference on local

[jboss-user] [JNDI/Naming/Network] - Re: Difference JDK - connection problems

2007-05-02 Thread AlexKomlev
Hello We try change host, we try run JBoss witn params - no effect. In telnet we see: ??srvjava.rmi.MarshalledObject|-^??c?>O¦I¦hashlocBytestO[BobjBytesq~Oxpr^?)urO[B ¦°T?Oxp$??thttp://MCBC24:8083/q~q~uq~¦L??sr org.jnp.server.NamingServer_StubOOxr java.rmi.server.RemoteStub?¦-???eOxrLjava.rmi.serv

[jboss-user] [JNDI/Naming/Network] - Re: Difference JDK - connection problems

2007-05-01 Thread AlexKomlev
Thanks for your help :-) Tomorrow i will check Jboss with params and try rewrite hosts file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042052#4042052 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042052 __

[jboss-user] [JNDI/Naming/Network] - Re: Difference JDK - connection problems

2007-04-30 Thread AlexKomlev
I don't look at post that You referenced. This reference conducted in deadlock. There I download a ActiveX comp. and me have suggested to enter a login with the password. After holidays(02.05) i try start server with params. View the original post : http://www.jboss.com/index.html?module=bb&op=

[jboss-user] [JNDI/Naming/Network] - Re: Difference JDK - connection problems

2007-04-30 Thread AlexKomlev
I'm using standart jndi.properties file with one change - remoute adress: | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.provider.url=jnp://192.168.60.46:1099 | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | I'm afraid of that pro

[jboss-user] [JNDI/Naming/Network] - Difference JDK - connection problems

2007-04-29 Thread AlexKomlev
Hello We used JBoss on server (Linux kernell 2.4) with JDK 1.4. Client writing for Widows with JDK 5.0 in 1.4 compatible mode. Then we try connect to jboss from jndi it write about RMI problems with 127.0.0.1 host, but JBoss and clint configured with remoute adress. View the original post : htt

[jboss-user] [Beginners Corner] - Re: New table fild with primary key in CMP Entity EJB

2007-04-26 Thread AlexKomlev
The answer it has appeared simple. In a file jbosscmp-jdbc.xml it is necessary to add two strings. in cmp description primary key and to the end of entity declaration PS JDBC 2 - don't work JDBC 3 - work JDBC 4 - ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtop

[jboss-user] [Beginners Corner] - New table fild with primary key in CMP Entity EJB

2007-04-24 Thread AlexKomlev
Help me please. I generate in Eclipse CMP Entity component, what connecting to PostgreSQL table. Table has primary key of serial type. Then i try create new remoute oject arises exception. I can't create fild of primary key with default value. How i can fix it? View the original post : http://

[jboss-user] [Beginners Corner] - Re: JNDI, JDBC & Simple Application

2007-04-18 Thread AlexKomlev
I'm stupid - to forget such simple thing. All works. :-) Small thing - if my table's name is TestTable? it's don't work, if name is testtable - all work. Request don't changing - "SELECT * FROM TestTable" Magic :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p

[jboss-user] [Beginners Corner] - Re: JNDI, JDBC & Simple Application

2007-04-18 Thread AlexKomlev
Big thanks for your help. I change -ds.xml and use instead of "java:PostgresDS", "PostgresDS". In connection stage i don't have visible problems, but on | ResultSet rs = st.executeQuery("SELECT * FROM TestTable"); | i see Exception in thread "main" java.lang.reflect.UndeclaredThrowab

[jboss-user] [Beginners Corner] - JNDI, JDBC & Simple Application

2007-04-17 Thread AlexKomlev
Help me, please. I put this code in Servlet: InitialContext jndiContext = new InitialContext(); | Object obj = jndiContext.lookup("java:PostgresDS"); | DataSource ds = (DataSource) PortableRemoteObject.narrow(obj, DataSource.class); | ... | and its work correctly. But then I put this

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

2007-03-10 Thread AlexKomlev
Install WTP a plug-in for Eclipse, it completely automates creation a web of applications. This plug-in also deploy your application on the JBoss View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026864#4026864 Reply to the post : http://www.jboss.com/index.htm

[jboss-user] [Beginners Corner] - Re: How run test application for EJB without Eclipse

2007-03-09 Thread AlexKomlev
Here the decision of a problem :-) Put i one folder Bean ang Client jar and run script: set CLASSPATH=%JBOSS_HOME%\client\jbossall-client.jar; set CLASSPATH=c:\Client.jar;%CLASSPATH% java ClientMainClass And all works without errors and warnings View the original post : http://www.jboss.com/ind

[jboss-user] [Beginners Corner] - How run test application for EJB without Eclipse

2007-03-08 Thread AlexKomlev
I?m use Eclipse 3.2.1 (with WTP plug-in) and JBoss 4.0.5 I create EJB Project (with Session Bean) and Application Client Project. After deploy in Eclipse i test Client and all work. How run Client without Eclipse. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=v