Subject | Re: FB 1.5.3 localhost error on JBoss 4.0.4 CR 2 |
---|---|
Author | hi_feroz |
Post date | 2006-05-09T02:11:11Z |
hi Helen and Roman,
thanks for the reply!
i can ping localhost. localhost is working fine.
i got it working on another linux box (Mandrake 10.1). here are more
details.
My First Server is Mandriva 2006 (Admin guy installed with the option
of high security)
1) Can ping localhost 127.0.0.1 (he allowed it)
2) Firebird Installed -> Working fine -> tested thru isql
3) Jboss installed working fine -> inatalled EJB3TrailBlazer from
Jboss to test
4) Configured firebird-ds.xml in JBoss. Whenever I user localhost
inside there, it would give error. Then i gave the full path, it
didn't give any errors when starting JBoss.
5) I deployed my application in JBoss, and it gives localhost error,
even though i am not using localhost in firebird-ds.xml file. I tried
giving ip address, full path but it would still give localhost error
(Please note that i cleared Jboss cache everytime i did a change)
So, I gaveup and installed Mandrake 10.1 on my laptop:
1) Can ping localhost
2) Firebird CS 1.5.3 -> OK
3) JBoss -> OK
4) Installed my app, it didn't give any localhost errors, but got a
different error with saying username and password not defined (even
though i am using default SYSDBA and masterky). I searched thru web
and found out that Linux and JBoss security options. JBoss has a guest
user, so i created guest user in Firebird and assigned to SYSDBA role.
I also used this user in congiguring web.xml file.
I am not exactly sure what happened here. I am going to give it one
more round of configuring from scratch and see what creates problem
and what is the solution.
If my explanation here might have u given some idea, what exactly
happened here. Please let me know as well:)
Yea, this may b important also, the database I use is from Firebird
1.5.2 windows and then I restored it on linix FB 1.5.3.
My main Server is still giving localhost problem:(
Thanks again!
thanks for the reply!
i can ping localhost. localhost is working fine.
i got it working on another linux box (Mandrake 10.1). here are more
details.
My First Server is Mandriva 2006 (Admin guy installed with the option
of high security)
1) Can ping localhost 127.0.0.1 (he allowed it)
2) Firebird Installed -> Working fine -> tested thru isql
3) Jboss installed working fine -> inatalled EJB3TrailBlazer from
Jboss to test
4) Configured firebird-ds.xml in JBoss. Whenever I user localhost
inside there, it would give error. Then i gave the full path, it
didn't give any errors when starting JBoss.
5) I deployed my application in JBoss, and it gives localhost error,
even though i am not using localhost in firebird-ds.xml file. I tried
giving ip address, full path but it would still give localhost error
(Please note that i cleared Jboss cache everytime i did a change)
So, I gaveup and installed Mandrake 10.1 on my laptop:
1) Can ping localhost
2) Firebird CS 1.5.3 -> OK
3) JBoss -> OK
4) Installed my app, it didn't give any localhost errors, but got a
different error with saying username and password not defined (even
though i am using default SYSDBA and masterky). I searched thru web
and found out that Linux and JBoss security options. JBoss has a guest
user, so i created guest user in Firebird and assigned to SYSDBA role.
I also used this user in congiguring web.xml file.
I am not exactly sure what happened here. I am going to give it one
more round of configuring from scratch and see what creates problem
and what is the solution.
If my explanation here might have u given some idea, what exactly
happened here. Please let me know as well:)
Yea, this may b important also, the database I use is from Firebird
1.5.2 windows and then I restored it on linix FB 1.5.3.
My main Server is still giving localhost problem:(
Thanks again!
--- In Firebird-Java@yahoogroups.com, Helen Borrie <helebor@...> wrote:
>
> At 09:11 PM 8/05/2006, you wrote:
> > > Check the /etc/hosts file. It needs the entry
> > >
> > > 127.1.1.1 localhost
> >
> >Shouldn' t it be 127.0.0.1 ?
>
> Yes, sorry. I've been setting up routers and have 1.1.1 etched on
my
> frontal lobe.
>
> Helen
>