Andris Sigs

Greenhorn
+ Follow
since Sep 16, 2013
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Andris Sigs

Hello!

Sorry for my English.

I’m trying to configure Single Sign On with Weblogic application server and Kerberos. But I’m still getting my login page… When I’m trying to access login page, in servername.out log file appears this log, without any errors (as I understand Additional pre-authentication required is a normal error):





How can I solve this problem? Or how can I correctly debug this problem, to understand where is a miss.
Thanks!
9 years ago
But I can't ask my admin now Is there different way?
9 years ago

You didn't say which URL you're trying to access, but I'm guessing that only port 80 is open on the firewall. So other ports like 4848 and 8080 are not accessible. If so, you'll have to talk to the network admin about that; my guess is that they will stay closed, though.



URL is "somehost:8080/web_war_exploded/". But from local network computers I can access this address. Can this ports be closed only for external network computers? How can I check, is problem in router firewall on in some another thing?
9 years ago

Is your server hosted by some ISP?


It is our peronal server. This server is located in our local network.

More importantly is glassfish running?


Yes. I can access glassfish from local network, but I can't access them from external networks.
9 years ago

What does "remotely" mean - are there firewalls in between? How exactly are you trying to access it - which URL are you using?



Yes, there are firewalls. But how can I check, is a problem in a router or in a linux system or in something else?
9 years ago

Can you ping your server remotely?



Yes I can. Also I can access apache server on this host by 80 port. But I can't access my glassfish.
9 years ago
Hello.
I’ve installed glassfish application server on linux. So, I deployed an application, and all works fine. But I can Access this server only from local network. I can’t access glassfish remotely (cant access application or glassfish administration panel). Where can be a problem? Thanks!
9 years ago
Hello.

I try to use ‘rewrite’ (http://ocpsoft.org/rewrite/ )in my JSF application. So, I want to show user friendly links. For example, I have /viewpage.xhtml?id=5 page, but I want to show /page/5 or, more better /page/{page-title} . How can I reach this functionality?

Thanks!
9 years ago
JSF
So, problem was in Session… After each error I must create new Session…
Hello.
I've created Hibernate „create” method:



When some exception occurs (for example, unique constraint in DB), then catch block executes. After one error, I cant create another rows… I get exception about old error. For example, I create user „test”, then I trying add user with same name „test” and I’m getting hibernate error in log file. Then I’m trying to add new unique user, with new username „test2”, but still get old error about „test” user. Where is the problem?

So, real example:

I'm added testuser1@ttt.org, after that, I tryed add this user once more (and gets exception(below))... Now I'm trying to add user "testuser3@ttt.org" but I'm getting this error about testuser1@ttt.org again:



Thanks.
On one computer I have Glassfish server and PostreSQL DB.

So I use JavaServer Faces. When my facelet page is without any connection to db, then page loads very fast.

But when I use db connection (very simple, for example, select all rows from tabele with 5 rows), page loads 3-5 seconds.

Where can be problem? Why working with db is so slow?

Directly in postrgers(pgAdmin) query executes on ~10ms.

My persistence.xml:



GenericDaoImpl:



For example, in MenusDao I have this function:



When I load page which loads this function, then page loads on 3-4 seconds.
Thanks!
10 years ago
JSF
Thanks You!

Can you please help me to explain this exception? Which beans is locked?

It is correct?:
One process locked BuildingChanger and wants to lock gn/City, but another process in same time locked gn/City and wants to lock gn/BuildingChanger?

Thanks You!
Hello. Sorry for my English.
Sometimes my Enterprise application on JBoss 3.2.6 throw exception:


Help pleas, what does it means? How to solve this problem?
Thanks You!
Have you tried the service name? Yes I have. Don't worked.

tnsnames.ora:

MDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.198.18.20)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = MDB.NET)
(SERVER = DEDICATED)
)
)