Thank you! I am up and running at last.
I suspect that the gui version fails because of JSF issues - but I am
going to focus on my application now that I have a working environment.
Thanks to both of you for helping me out!
Phil Virgo
Senior Computer Scientist
CSC
15245 Shady Grove Rd, Rockville, MD 20850
Health Sciences Center | Office: 301-921-3445 | pvirgo_at_csc.com |
www.csc.com
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.
From: Shalini <shalini.muthukrishnan_at_oracle.com>
To: Phillip W Virgo/USA/CSC_at_CSC
Cc: users_at_glassfish.java.net, Martin Gainty <mgainty_at_hotmail.com>
Date: 08/02/2012 02:55 AM
Subject: Re: Cannot View Domain Server - admingui\login.jsp not
found - cannot use oracle database connection pool
Hi Phillip,
Looks like there are are some trailing spaces in this string : "user=xxx
:password=xxx: url=..."
Correcting these should solve the problem.
HTH
Shalini.
On Wednesday 01 August 2012 10:22 PM, Phillip W Virgo wrote:
Thank you. The web.xml was already set up as you suggested and I gave up
- I installed on another machine. Now I can see the GUI Domain Server
(from NetBeans) but it doesn't work well enough to set up a connection
pool - the responses are littered with "error on page" and jsf output
stream problems! So I will use the asadmin rather that struggle any
longer with the GUI version.
Not sure if it is appropriate to go on the next problem here. I am also
looking into the forums and might post there.
=========================================================
Since I cannot get the GUI Domain Server work, I am trying to set a
connection pool using asadmin:
create-jdbc-connection-pool --restype javax.sql.DataSource
--datasourceclassname oracle.jdbc.pool.OracleDataSource --property
"user=xxx :password=xxx:
url=jdbc\\:oracle\\:thin\\:@20.4.12.37\\:1521\\:RHYMIS2" rhymis2_pool
That creates the pool, but when I ping I get a message which I think is
misleading and I don't know how to determine what the actual problem is.
asadmin> ping-connection-pool rhymis2_pool
remote failure: Ping Connection Pool failed for rhymis2_pool.
Connection could not be allocated because: Invalid Oracle URL specified:
OracleD
ataSource.makeURL Please check the server.log for more details.
Command ping-connection-pool failed.
The URL is correct - I can see it in the GUI Domain Server and it is
identical to the way I use it with no problems in stand alone Java
programs that connect to the database without problems.
DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
connect_ = DriverManager.getConnection(url, user, password);
where url=jdbc:oracle:thin:@20.4.12.37:1521:RHYMIS2
There is no addition information in the server log.
Phil Virgo
Senior Computer Scientist
CSC
15245 Shady Grove Rd, Rockville, MD 20850
Health Sciences Center | Office: 301-921-3445 | pvirgo_at_csc.com |
www.csc.com
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.
From: Martin Gainty <mgainty_at_hotmail.com>
To: Phillip W Virgo/USA/CSC_at_CSC
Date: 07/31/2012 06:32 PM
Subject: RE: Cannot View Domain Server - admingui\login.jsp not
found
looks like the wrong welcome-file got deployed
C:\glassfish3\glassfish\lib\install\applications\__admingui\WEB-INF>vi
web.xml
search for welcome-file-list you should see
<welcome-file-list>
<welcome-file>/index.jsf</welcome-file>
</welcome-file-list>
if refactoring the welcome-file to index.jsf doesnt work try
re-downloading and installing a fresh copy of GF from
http://glassfish.java.net/downloads/3.1.2.2-final.html
Martin Gainty
American Idiot
Former contractor to Chinese and Indian CSC FT employees
______________________________________________
do NOT alter or otherwise disrupt this message...
To: users_at_glassfish.java.net
Subject: Cannot View Domain Server - admingui\login.jsp not found
From: pvirgo_at_csc.com
Date: Tue, 31 Jul 2012 17:51:05 -0400
SEVERE: PWC6117: File "C:\Program
Files\glassfish-3.1.2.2\glassfish\lib\install\applications\__admingui\login.jsp"
not found
Installed Glasfish Open Source Edition 3.1.2 (build 23) using netbeans 7.2
. After adjusting with ports (8080 was not free so I used domain.xml to
change to 8083 win 2003 server) and java versions I can now start the
server (within NetBeans) but I cannot set up the jdbc connection pool to
Oracle because when I attempt to "View the Domain Server" (from within
NetBeans) at
http://localhost:4848 I am told:
SEVERE: PWC6117: File "C:\Program
Files\glassfish-3.1.2.2\glassfish\lib\install\applications\__admingui\login.jsp"
not found
What can I do? Not clear to me what I can do about a missing file in the
installation. (There is no such file). Is this a bug in GlassFish or in
Netbeans? What should I do?
Thanks!
Phil Virgo
Senior Computer Scientist
CSC
15245 Shady Grove Rd, Rockville, MD 20850
Health Sciences Center | Office: 301-921-3445 | pvirgo_at_csc.com |
www.csc.com
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.