You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by kira993 <la...@live.com> on 2014/06/05 12:08:58 UTC
Database deploy error
Hello, i haven't been able to find solution for my problem, i can deploy app,
but i can't create database fields...
I have this error, so does anyone know solution?
prepare-database:
[echo] Inserting default user into database.
[java] jun 05, 2014 12:02:05 PM org.apache.openejb.client.EventLogger
log
[java] INFO:
RemoteInitialContextCreated{providerUri=http://127.0.0.1:8080/tomee/ejb}
[java] jun 05, 2014 12:02:06 PM org.apache.openejb.client.EventLogger
log
[java] WARNING: RequestFailed{server=http://127.0.0.1:8080/tomee/ejb}
JNDI_LOOKUPnull:/InitBeanRemote {error=Cannot open input stream to server: }
[java] Exception in thread "main"
org.apache.openejb.client.ClientRuntimeException: Invalid response from
server: -1
[java] at
org.apache.openejb.client.JNDIContext.lookup(JNDIContext.java:297)
[java] at javax.naming.InitialContext.lookup(InitialContext.java:411)
[java] at
rs.ac.uns.ftn.informatika.mbs2.vezbe09.primer01.client.InitClient.main(InitClient.java:15)
[java] Java Result: 1
BUILD SUCCESSFUL
Total time: 1 second
Thanks in advance...
--
View this message in context: http://openejb.979440.n4.nabble.com/Database-deploy-error-tp4669895.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: Database deploy error
Posted by Andy Gumbrecht <ag...@tomitribe.com>.
You could also post your fresh server log contents here and we'll be
able to see what the remote lookup name should be for your client.
Andy.
On 05/06/2014 17:07, kira993 wrote:
> Checked catalina log, there doesn't seem to be a problem, or at least i don't
> see it...
>
> @agumbrecht: I'm not tied to those versions, i guess its smartest to upgrade
> first, and then to see if anything is fixed... Will try newer version now,
> and then report is there any difference...
>
> Thanks for helping me :)
>
>
>
> --
> View this message in context: http://openejb.979440.n4.nabble.com/Database-deploy-error-tp4669895p4669905.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
>
--
Andy Gumbrecht
http://www.tomitribe.com
agumbrecht@tomitribe.com
https://twitter.com/AndyGeeDe
TomEE treibt Tomitribe! | http://tomee.apache.org
Re: Database deploy error
Posted by Andy Gumbrecht <ag...@tomitribe.com>.
You could also post your fresh server log contents here and we'll be
able to see what the remote lookup name should be for your client.
Andy.
On 05/06/2014 17:07, kira993 wrote:
> Checked catalina log, there doesn't seem to be a problem, or at least i don't
> see it...
>
> @agumbrecht: I'm not tied to those versions, i guess its smartest to upgrade
> first, and then to see if anything is fixed... Will try newer version now,
> and then report is there any difference...
>
> Thanks for helping me :)
>
>
>
> --
> View this message in context: http://openejb.979440.n4.nabble.com/Database-deploy-error-tp4669895p4669905.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
>
--
Andy Gumbrecht
http://www.tomitribe.com
agumbrecht@tomitribe.com
https://twitter.com/AndyGeeDe
TomEE treibt Tomitribe! | http://tomee.apache.org
Re: Database deploy error
Posted by kira993 <la...@live.com>.
Checked catalina log, there doesn't seem to be a problem, or at least i don't
see it...
@agumbrecht: I'm not tied to those versions, i guess its smartest to upgrade
first, and then to see if anything is fixed... Will try newer version now,
and then report is there any difference...
Thanks for helping me :)
--
View this message in context: http://openejb.979440.n4.nabble.com/Database-deploy-error-tp4669895p4669905.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: Database deploy error
Posted by kira993 <la...@live.com>.
Checked catalina log, there doesn't seem to be a problem, or at least i don't
see it...
@agumbrecht: I'm not tied to those versions, i guess its smartest to upgrade
first, and then to see if anything is fixed... Will try newer version now,
and then report is there any difference...
Thanks for helping me :)
--
View this message in context: http://openejb.979440.n4.nabble.com/Database-deploy-error-tp4669895p4669908.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: Database deploy error
Posted by Andy Gumbrecht <ag...@tomitribe.com>.
Hi Kira,
I think there is probably an error on the server side and the response
is not obvious on the client.
As Romain pointed out, check the server logs for issues. You may need to
set logging to be more verbose until we get this resolved.
Also, are you tied to those older versions - They are well over a year
old now. Not saying that will resolve the issue, but upgrading may help
you in the long run.
Andy.
On 05/06/2014 14:42, Romain Manni-Bucau wrote:
> Yes, so then can you check tomee logs (catalina*) to ensure you use
> the right name of remote ejb?
>
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-06-05 14:21 GMT+02:00 kira993 <la...@live.com>:
>> Hi :)
>> I use Eclipse Java EE IDE Juno SP1, openejb-client-4.5.1, and tomee 1.5.1
>> (openejb-client-4.5.1 is in its lib folder too, i guess that means its
>> alligned?)
>>
>>
>>
>> --
>> View this message in context: http://openejb.979440.n4.nabble.com/Database-deploy-error-tp4669895p4669898.html
>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
--
Andy Gumbrecht
http://www.tomitribe.com
agumbrecht@tomitribe.com
https://twitter.com/AndyGeeDe
TomEE treibt Tomitribe! | http://tomee.apache.org
Re: Database deploy error
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Yes, so then can you check tomee logs (catalina*) to ensure you use
the right name of remote ejb?
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2014-06-05 14:21 GMT+02:00 kira993 <la...@live.com>:
> Hi :)
> I use Eclipse Java EE IDE Juno SP1, openejb-client-4.5.1, and tomee 1.5.1
> (openejb-client-4.5.1 is in its lib folder too, i guess that means its
> alligned?)
>
>
>
> --
> View this message in context: http://openejb.979440.n4.nabble.com/Database-deploy-error-tp4669895p4669898.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: Database deploy error
Posted by kira993 <la...@live.com>.
Hi :)
I use Eclipse Java EE IDE Juno SP1, openejb-client-4.5.1, and tomee 1.5.1
(openejb-client-4.5.1 is in its lib folder too, i guess that means its
alligned?)
--
View this message in context: http://openejb.979440.n4.nabble.com/Database-deploy-error-tp4669895p4669898.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: Database deploy error
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi
what's your environment? Is tomee version aligned with client version?
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2014-06-05 12:08 GMT+02:00 kira993 <la...@live.com>:
> Hello, i haven't been able to find solution for my problem, i can deploy app,
> but i can't create database fields...
> I have this error, so does anyone know solution?
>
>
> prepare-database:
> [echo] Inserting default user into database.
> [java] jun 05, 2014 12:02:05 PM org.apache.openejb.client.EventLogger
> log
> [java] INFO:
> RemoteInitialContextCreated{providerUri=http://127.0.0.1:8080/tomee/ejb}
> [java] jun 05, 2014 12:02:06 PM org.apache.openejb.client.EventLogger
> log
> [java] WARNING: RequestFailed{server=http://127.0.0.1:8080/tomee/ejb}
> JNDI_LOOKUPnull:/InitBeanRemote {error=Cannot open input stream to server: }
> [java] Exception in thread "main"
> org.apache.openejb.client.ClientRuntimeException: Invalid response from
> server: -1
> [java] at
> org.apache.openejb.client.JNDIContext.lookup(JNDIContext.java:297)
> [java] at javax.naming.InitialContext.lookup(InitialContext.java:411)
> [java] at
> rs.ac.uns.ftn.informatika.mbs2.vezbe09.primer01.client.InitClient.main(InitClient.java:15)
> [java] Java Result: 1
> BUILD SUCCESSFUL
> Total time: 1 second
>
> Thanks in advance...
>
>
>
> --
> View this message in context: http://openejb.979440.n4.nabble.com/Database-deploy-error-tp4669895.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.