Apache server in oracle
Hi
I have installed oracle version 9.2 under linux 7.3. Also we are trying to install another apache. Now my problem is that even though i have stopped the oracle apache and try running the apache under root i get an error 'You need to supply a username and a password to access this site. SITE XDB at superO'. I was informed by one of my colleagues that the problem is because of oracle apache. In this case if i have to uninstall oracle apache server, how do i do it and will there be any effect on the oracle installed, or i have to deinstall oracle and reinstall again.
Thanks
as far as de-installing Apache server installed along with Oracle is concerned, you need to run the
Oracle installer again (runInstaller script), and select de-install products from the main screen.
from there select the apache server entries and remove them.
But havaing Oracle Apache should not hava any effect since the configuration files for the two installations
should be at different locations.
You need to check the httpd.conf script for the apache web server and make sure that you have anonymous
access to the web server enabled.
Similar Messages
-
Configuring HTTP Apache Server with Oracle Apex
Hi All,
I have trawled through various threads on here to see if it would help my resolve the problem i seem to be having, but to no avail :(
I have an oracle RAC db with apex installed. the RAC uses a service: apextest.com
I have an HTTP Server installed on a seperate server, I have copied the Images over so it knows what to use. Made sure the httpd.conf file is pointing to the correct images path.
As its a RAC db, i have put in the dads.conf file a 'TNSFormat' setting for the 'PlsqlDatabaseConnectString', using the TNSnames.ora entry named DEXTER which uses the apextest.com service name.
My dads.conf file:
Alias /i/ "/apex/Apache/Apache/images/"
AddType text/xml xbl
AddType text/x-component htc
<Location /pls/apex>
Order deny,allow
PlsqlDocumentPath docs
AllowOverride None
PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
PlsqlDatabaseConnectString DEXTER TNSFormat
PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
PlsqlAuthenticationMode Basic
SetHandler pls_handler
PlsqlDocumentTablename wwv_flow_file_objects$
PlsqlDatabaseUsername APEX_PUBLIC_USER
PlsqlDefaultPage apex
PlsqlDatabasePassword apex_pword
PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize
Allow from all
</Location>My TNSnames Entry:
DEXTER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = servername.com)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = servername2.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = apextest.com)
)i can tnsping using the apex_public_user account and correct password and also sqlplus using the same account and password:
tnsping DEXTER
sqlplus apex_public_user/apex_pword@DEXTERim getting the error of:
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
The error log is spitting out -
mod_plsql: /pls/apex/apex HTTP-503 ORA-12514Does anyone have any ideas? Anything i've missed out / not done ?
Note: I have used the same HTTP Apache Server to host a version of apex4 on a standalone database which is installed on the same server. So just wondered if that has anything to do with it?
thanks in advance :)Hello,
According to the error ORA-12514, there is a problem for the mod_plsql to connect to the database :
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Cause: The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a service name for a service (usually a database service) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.
Action:
- Wait a moment and try to connect a second time.
- Check which services are currently known by the listener by executing: lsnrctl services <listener name>
- Check that the SERVICE_NAME parameter in the connect descriptor of the net service name used specifies a service known by the listener.
- If an easy connect naming connect identifier was used, check that the service name specified is a service known by the listener.
- Check for an event in the listener.log file.
Is the "alias" DEXTER defined in the file tnsnames.ora used by mod_plsql ?
Regards -
Configuring Apache HTTP Server with Oracle Weblogic Server plugin
Hello friends,
I have a scenario of OIM 9.1.0.2 on Oracle Application Server 11g and Weblogic Server Apache HTTP Server.
Oracle WebLogic Server is configured in cluster (node1 and node2), also use the Oracle Weblogic Server plugin for integration with Apache.
One of the tests is to lose one of the nodes for the apache plugin redirects the node that has less overhead.
When the mode is node1 and node2 stop start mode and try to access the management console of Oracle Identity Manager, the plugin sometimes redirects to the other active node, and on another occasion shows the oracle management console identity manager without the colors of the basic look and feel.
Deputy of the Apache HTTP Server log, do you expect your comments to solve this case?
*************************************************log****************************************************
Server Details are:
OrigHostInfo [192.168.1.200]
isOrigHostInfoDNS [0]
Host [192.168.1.200]
Port [7002]
SecurePort [7004]
Mon Jan 30 22:10:43 2012 <2600713279794431> Initializing lastIndex=0 for a list of length=1
Mon Jan 30 22:10:43 2012 <2600713279794431> initJVMID: Trying to locate Primary or Secondary using SrvrInfo with JVMID [-872106207]
Mon Jan 30 22:10:43 2012 <2600713279794431> initJVMID: Found Primary 192.168.1.200:7002:7004
Mon Jan 30 22:10:43 2012 <2600713279794431> INFO: Closing SSL context
Mon Jan 30 22:10:43 2012 <2600713279794431> .....internal request /bea_wls_internal/WLDummyInitJVMIDs.....processed
Mon Jan 30 22:10:43 2012 <2600713279794431> getPreferredFromCookie: Found 1 servers
Mon Jan 30 22:10:43 2012 <2600713279794431> attempt #0 out of a max of 5
Mon Jan 30 22:10:43 2012 <2600713279794431> trying connect to PRIMARY '192.168.1.200'/7002/7004
Mon Jan 30 22:10:43 2012 <2600713279794431> getPooledConn: No more connections in the pool for Host[192.168.1.200] Port[7002] SecurePort[7004]
Mon Jan 30 22:10:43 2012 <2600713279794431> New SSL URL: match = 0 oid = 22
Mon Jan 30 22:10:43 2012 <2600713279794431> Connect returns -1, and error no set to 150, msg 'Operation now in progress'
Mon Jan 30 22:10:43 2012 <2600713279794431> EINPROGRESS in connect() - selecting
Mon Jan 30 22:10:43 2012 <2600713279794431> Setting peerID for new SSL connection
Mon Jan 30 22:10:43 2012 <2600713279794431> 0ae2 0436 0000 1b5c ...6...\
Mon Jan 30 22:10:43 2012 <2600713279794431> Local Port of the socket is 39186
Mon Jan 30 22:10:43 2012 <2600713279794431> Remote Host 192.168.1.200 Remote Port 7004
Mon Jan 30 22:10:43 2012 <2600713279794431> created a new connection to preferred server '192.168.1.200/7004' for '/xlWebApp/images/spacer.gif', Local port:39186
Mon Jan 30 22:10:43 2012 <2600713279794431> INFO: CA certificate missing basicConstraints, validation failed
Mon Jan 30 22:10:43 2012 <2600713279794431> ERROR: SSLWrite failed
Mon Jan 30 22:10:43 2012 <2600713279794431> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
Mon Jan 30 22:10:43 2012 <2600713279794431> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
Mon Jan 30 22:10:43 2012 <2600713279794431> Marking 192.168.1.200:7004 as bad
Mon Jan 30 22:10:43 2012 <2600713279794431> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0, line 794 of ../nsapi/URL.cpp]: at line 3160
Mon Jan 30 22:10:43 2012 <2600713279794431> INFO: Closing SSL context
Mon Jan 30 22:10:43 2012 <2598413279794431>
================New Request: [GET /images/cab.gif HTTP/1.1] =================
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: SSL is configured
Mon Jan 30 22:10:43 2012 <2598413279794431> SSL Main Context not set. Calling InitSSL
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: SSL configured successfully
Mon Jan 30 22:10:43 2012 <2598413279794431> Using Uri /images/cab.gif
Mon Jan 30 22:10:43 2012 <2598413279794431> After trimming path: '/images/cab.gif'
Mon Jan 30 22:10:43 2012 <2598413279794431> adding prepend path: /xlWebApp/
Mon Jan 30 22:10:43 2012 <2598413279794431> The final request string is '/xlWebApp/images/cab.gif'
Mon Jan 30 22:10:43 2012 <2598413279794431> Host extracted from serverlist is [192.168.1.100]
Mon Jan 30 22:10:43 2012 <2598413279794431> Host extracted from serverlist is [192.168.1.200]
Mon Jan 30 22:10:43 2012 <2598413279794431> Initializing lastIndex=0 for a list of length=2
Mon Jan 30 22:10:43 2012 <2598413279794431> getListNode: created a new server node: id='192.168.1.100:7004,192.168.1.200:7004' server_name='OIMSERVER', port='443'
Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferred: availcookie=[JSESSIONID=6RGCPnbTFRG7LBrTRpFnv1QLnQHkxkqr4pjGhhGJyrJWJ1rv86NK!-872106207!NONE]
Mon Jan 30 22:10:43 2012 <2598413279794431> Found cookie from cookie header: JSESSIONID=6RGCPnbTFRG7LBrTRpFnv1QLnQHkxkqr4pjGhhGJyrJWJ1rv86NK!-872106207!NONE
Mon Jan 30 22:10:43 2012 <2598413279794431> Parsing cookie JSESSIONID=6RGCPnbTFRG7LBrTRpFnv1QLnQHkxkqr4pjGhhGJyrJWJ1rv86NK!-872106207!NONE
Mon Jan 30 22:10:43 2012 <2598413279794431> getpreferredServersFromCookie: [-872106207!NONE]
Mon Jan 30 22:10:43 2012 <2598413279794431> primaryJVMID: [-872106207]
secondaryJVMID: [NONE]
Mon Jan 30 22:10:43 2012 <2598413279794431> No of JVMIDs found in cookie: 1
Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferredFromCookie: Start Position is 0, listLen is 2
Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferredFromCookie: Either JVMIDs not set or they are stale. Will try to get JVMIDs from WLS
Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Iterating SrvrList from position 0
Mon Jan 30 22:10:43 2012 <2598413279794431> ======internal request /bea_wls_internal/WLDummyInitJVMIDs======
initJVMID: Trying Host[192.168.1.100] Port[7004] SecurePort[7004] useSSL [1] ioTimeout [30] socketTimeout [2]
Mon Jan 30 22:10:43 2012 <2598413279794431> New SSL URL: match = 0 oid = 0
Mon Jan 30 22:10:43 2012 <2598413279794431> Connect returns -1, and error no set to 146, msg 'Connection refused'
Mon Jan 30 22:10:43 2012 <2598413279794431> Error connecting to host 192.168.1.100:7004
Mon Jan 30 22:10:43 2012 <2598413279794431> *******Exception type [CONNECTION_REFUSED] (Error connecting to host 192.168.1.100:7004 errno = 146) raised at line 1723 of ../nsapi/URL.cpp
Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Failed to retrieved JVMID for 192.168.1.100:7004:7004
Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Marked server as BAD
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Closing SSL context
Mon Jan 30 22:10:43 2012 <2598413279794431> .....internal request /bea_wls_internal/WLDummyInitJVMIDs.....processed
Mon Jan 30 22:10:43 2012 <2598413279794431> ======internal request /bea_wls_internal/WLDummyInitJVMIDs======
initJVMID: Trying Host[192.168.1.200] Port[7004] SecurePort[7004] useSSL [1] ioTimeout [30] socketTimeout [2]
Mon Jan 30 22:10:43 2012 <2598413279794431> New SSL URL: match = 0 oid = 0
Mon Jan 30 22:10:43 2012 <2598413279794431> Connect returns -1, and error no set to 150, msg 'Operation now in progress'
Mon Jan 30 22:10:43 2012 <2598413279794431> EINPROGRESS in connect() - selecting
Mon Jan 30 22:10:43 2012 <2598413279794431> Setting peerID for new SSL connection
Mon Jan 30 22:10:43 2012 <2598413279794431> 0ae2 0436 0000 1b5c ...6...\
Mon Jan 30 22:10:43 2012 <2598413279794431> Local Port of the socket is 39188
Mon Jan 30 22:10:43 2012 <2598413279794431> Remote Host 192.168.1.200 Remote Port 7004
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Certificate validation succeeded
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Negotiated to cipher: 3
Mon Jan 30 22:10:43 2012 <2598413279794431> SSLWrite sent 171
Mon Jan 30 22:10:43 2012 <2598413279794431> SSLWrite completed, sent 171
Mon Jan 30 22:10:43 2012 <2598413279794431> Reader::fill() SSLRead returned: 0 290
Mon Jan 30 22:10:43 2012 <2598413279794431> URL::parseHeaders: CompleteStatusLine set to [HTTP/1.1 404 Not Found]
Mon Jan 30 22:10:43 2012 <2598413279794431> URL::parseHeaders: StatusLine set to [404 Not Found]
Mon Jan 30 22:10:43 2012 <2598413279794431> parsed all headers OK
Mon Jan 30 22:10:43 2012 <2598413279794431> Parsing cluster list: -872106207!182584374!7002!7004
Mon Jan 30 22:10:43 2012 <2598413279794431> parseJVMID: Parsing JVMID '-872106207!182584374!7002!7004'
Mon Jan 30 22:10:43 2012 <2598413279794431> parseJVMID: Actually parsing '-872106207!182584374!7002!7004'
Mon Jan 30 22:10:43 2012 <2598413279794431> ServerInfo struct for JVMID '-872106207' populated
Server Details are:
OrigHostInfo [192.168.1.200]
isOrigHostInfoDNS [0]
Host [192.168.1.200]
Port [7002]
SecurePort [7004]
Mon Jan 30 22:10:43 2012 <2598413279794431> Initializing lastIndex=0 for a list of length=1
Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Trying to locate Primary or Secondary using SrvrInfo with JVMID [-872106207]
Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Found Primary 192.168.1.200:7002:7004
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Closing SSL context
Mon Jan 30 22:10:43 2012 <2598413279794431> .....internal request /bea_wls_internal/WLDummyInitJVMIDs.....processed
Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferredFromCookie: Found 1 servers
Mon Jan 30 22:10:43 2012 <2598413279794431> attempt #0 out of a max of 5
Mon Jan 30 22:10:43 2012 <2598413279794431> trying connect to PRIMARY '192.168.1.200'/7002/7004
Mon Jan 30 22:10:43 2012 <2598413279794431> getPooledConn: No more connections in the pool for Host[192.168.1.200] Port[7002] SecurePort[7004]
Mon Jan 30 22:10:43 2012 <2598413279794431> New SSL URL: match = 0 oid = 22
Mon Jan 30 22:10:43 2012 <2598413279794431> Connect returns -1, and error no set to 150, msg 'Operation now in progress'
Mon Jan 30 22:10:43 2012 <2598413279794431> EINPROGRESS in connect() - selecting
Mon Jan 30 22:10:43 2012 <2598413279794431> Setting peerID for new SSL connection
Mon Jan 30 22:10:43 2012 <2598413279794431> 0ae2 0436 0000 1b5c ...6...\
Mon Jan 30 22:10:43 2012 <2598413279794431> Local Port of the socket is 39189
Mon Jan 30 22:10:43 2012 <2598413279794431> Remote Host 192.168.1.200 Remote Port 7004
Mon Jan 30 22:10:43 2012 <2598413279794431> created a new connection to preferred server '192.168.1.200/7004' for '/xlWebApp/images/cab.gif', Local port:39189
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: CA certificate missing basicConstraints, validation failed
Mon Jan 30 22:10:43 2012 <2598413279794431> ERROR: SSLWrite failed
Mon Jan 30 22:10:43 2012 <2598413279794431> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
Mon Jan 30 22:10:43 2012 <2598413279794431> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
Mon Jan 30 22:10:43 2012 <2598413279794431> Marking 192.168.1.200:7004 as bad
Mon Jan 30 22:10:43 2012 <2598413279794431> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0, line 794 of ../nsapi/URL.cpp]: at line 3160
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Closing SSL context
Thanks"One of the tests is to lose one of the nodes for the apache plugin redirects the node that has less overhead."
Note that the plug-in does a round robin load balancing, for example, in the case of three server (1,2,3) it does 1-2-3-1-2-3-1...
with server 3 going down it does 1-2-1-2-1...
An example configuration (with SSL off) looks as follows:
LoadModule weblogic_module "/home/oracle/weblogic12.1.1/apache/modules/mod_wl.so"
<IfModule weblogic_module>
ConnectTimeoutSecs 10
ConnectRetrySecs 2
DebugConfigInfo ON
WLSocketTimeoutSecs 2
WLIOTimeoutSecs 300
Idempotent ON
FileCaching ON
KeepAliveSecs 20
KeepAliveEnabled ON
DynamicServerList ON
WLProxySSL OFF
</IfModule>
<Location /LoadTest6>
SetHandler weblogic-handler
WebLogicCluster 172.31.0.175:7002,172.31.0.113:7003
</Location>Also see the complete example here: http://middlewaremagic.com/weblogic/?p=7795
"the plugin sometimes redirects to the other active node"
This is somewhat strange, do you have session binding turned off?
"and on another occasion shows the oracle management console identity manager without the colors of the basic look and feel."
This could happen due to mime types (not really sure just a hunch). Here is a general story on this concept: https://developer.mozilla.org/en/Properly_Configuring_Server_MIME_Types
and the apache module: http://httpd.apache.org/docs/2.2/mod/mod_mime.html -
Getting Error 2140 while starting Oracle Apache Server in 11.5.6 Apps
We are on Oracle Apps R11.5.6 on Win NT 4.0.
When I tried to stop and start the Oracle Apache Server service, the service stopped normally but did not start at all. The error is as given below:
When I try to start Apache Server through the services, I get the following error:
"Could not start the OracleApacheServerTEST service on \\son1052.
Error 2140: An internal Windows NT error occured."
When I try to start Apache Server through the command prompt, I get the error:
The OracleApacheServerTEST service is starting.
The OracleApacheServerTEST service could not be started.
The service did not report an error.
More help is available by typing NET HELPMSG 3534.
D:\oracle\testcomn\admin\scripts>goto end
D:\oracle\testcomn\admin\scripts>echo "adapcctl.cmd exiting with status 2"
"adapcctl.cmd exiting with status 2"
D:\oracle\testcomn\admin\scripts>net helpmsg 3534
The service did not report an error.
EXPLANATION
The service did not report an error.
ACTION
Try the task later. If the problem persists, contact your network administrator.
What might be the problem?
Any help would be greatly appreciated.
Thanks in Advance.
Praveen
[email protected]Login from svrmgrl and shutdown the db and then restart the db now start the service and it must start. This problem comes when you restart the server. I hope this will solve your problem.
[email protected] -
Forms 6i server with oracle Apache on 9i
Hi
has anyone configured forms 6i server with oracle Apache on oracle 9i
any suggestions
kedarHi Paul
I have configure as per notes on metalink 114226.1 in httpd.conf file
I have stopped IIS and restarted HTTP server
i get the default page when i enter http://<server>/dev60html/runform.htm
but when i enter port of forms server and web host as the machine name it takes along time
can u let me know if i am missing on any thing specific ?? in the setup
thanks
kedarr -
IFS 1.1.5/Oracle Apache Server/Linux
I have just installed iFS 1.1 for Linux on a new installation of Oracle 8.1.7 on Linux. My apologies in advance if my problem has been addressed in another post on this forum, but I have looked through most of the messages without finding someone with the same problem.
After doing all of the installs and then running "ifsapachesetup" to configure the Oracle HTTP server to access iFS, I encountered all sorts of problems trying to run any servlet or JSP using the Apache server, including the iFS servlet (every servlet access said "Internal Server Error".)
To make a long story short, my configuration seems to work now if I remove "servlet.startup=files" from zone.properties in the Apache JServ configuration directory. In other words, the automatic startup seemed to hose the entire JServ instance. (I got many errors saying "cannot connect to localhost:8007 ..." in jserv.log) I tried many different configurations while manually editing the JServ configuration files, and this one seemed to be the only one in which all of the servlets, including iFS, worked correctly. Does this make any sense?
Also, if I tried to run the iFS servlet/JSPs using the newer Apache Tomcat servlet engine, will there be any problems with that? I'm not talking of whether its supported or not, but is it feasible?
nullI messed around with it as well. First apache complained the jserv parameters could not be set twice (JServ option was already included in httpd.conf, so had to remove the duplicate).
Then I had to remove the / /root Ap directive from the jserv configuration file (known bug with the ifsapachesetup script).
Then I found out the link had to be http://myhost/ifs/files.
Next ajp12 came up saying it could not contact port 8001. I installed JDK 1.1.8 at first, which seems to be a nasty wrapper-sort-of version without the tools.jar (??) which are in the wrapper.classpath.
So I installed JDK 1.3, changed the symbolic link in $ORACLE_HOME/Apache/jdk and now everything seems to work.
Latest problem in fact WAS related to jdk 1.1.8 (both v1 and v3 didn't work), and although it might not be supported, it works like a dream, just chokes on my memory resources :) -
How can i create datasource on apache server for ADF application?
Hi All,
i my use case i have created simple adf application using ADF BC and want to deploy on Apache server 6.x.
So my question is that how can i create Data Source i have goggling and find two different way to do this.
1. write following line of code on apache server conf/Context.xml file.
<Resource name="jdbc/TestDB" auth="Container"
type="javax.sql.DataSource"
driverClassName="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:@localhost:dst"
username="jagrandb" password="jagrantest" maxActive="20" maxIdle="10"
maxWait="-1"/>
but when i have used this way i got following exception.
org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection
check link-
https://forums.oracle.com/thread/2564233
2. write following line of code apache conf/Server.xml file
<GlobalNamingResources>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
-->
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
<Resource name="jdbc/TestDB" auth="Container"
type="oracle.jdbc.pool.OracleDataSource"
description="User database that can be updated and saved"
driverClassName="oracle.jdbc.driver.OracleDriver"
factory="oracle.jdbc.pool.OracleDataSourceFactory"
url="jdbc:oracle:thin:@//172.31.43.207:1521:dst"
username="jagrandb" password="jagrantest" maxActive="20" maxIdle="10"
maxWait="-1" />
</GlobalNamingResources>
and add this line in context.xml file inside <context> tag
<ResourceLink global="jdbc/TestDB" name="jdbc/TestDB" type="oracle.jdbc.pool.OracleDataSource"/>
but when i have run application i have got following error
log-
javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: invalid arguments in call"
at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:298)
at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:181)
at org.apache.jsp.test_jsp._jspx_meth_sql_005fquery_005f0(test_jsp.java:110)
at org.apache.jsp.test_jsp._jspService(test_jsp.java:63)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
at java.lang.Thread.run(Thread.java:662)
Aug 2, 2013 5:17:21 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: invalid arguments in call"
at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:298)
at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:181)
at org.apache.jsp.test_jsp._jspx_meth_sql_005fquery_005f0(test_jsp.java:110)
at org.apache.jsp.test_jsp._jspService(test_jsp.java:63)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
at java.lang.Thread.run(Thread.java:662)
so what is the solution how to create datasource on apche server which suitable for adf application?
when i test data source using following code used 1. way as i mentioned above its running fine bt not for second.
<%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<sql:query var="rs" dataSource="jdbc/TestDB">
select empname from pay_emphdr where empcd='JK1306'
</sql:query>
<html>
<head>
<title>DB Test</title>
</head>
<body>
<h2>Results</h2>
<c:forEach var="row" items="${rs.rows}">
Foo ${row.empname}<br/>
</c:forEach>
</body>
</html>
please help me. it is very urgent.
thanks in Advance
ManishHi Lindalnci
i have already tried this tutorial and in my post i have defined first way to do using this procedure.
in that case i have got following exception as i have mentioned above
org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection -
Integrating Apahce HTTP server with Oracle Entitlement Server
Hi,
In our project we are trying to protect a applicaiton via Oracle entitlement server. And the login page for the same is hosted on the Apache server. But we are facing issue with the Log In page.
My apache is installed int he c:\apache folder.
The ssm folder for apache is c:\bea\ales32-ssm\apache-ssm\instance\asm1\config
the wles_module is at c:\bea\ales32-ssm\apache-ssm\lib\mod_wles.dll
I have added the follwoing lines in my httpd.conf file
LoadModule wles_module c:\bea\ales32-ssm\apache-ssm\lib\mod_wles.dll
<IfModule mod_wles.cpp>
WLESConfigDir c:\bea\ales32-ssm\apache-ssm\instance\asm1\config
</IfModule>
But while access the Apache home page I am gettign the error saying -
[Mon Mar 02 17:50:46 2009] [error] Unable to get HTTPServer instance, please check configuration.
[Mon Mar 02 17:50:46 2009] [error] WLESConfigDir=c:\\bea\\ales32-ssm\\apache-ssm\\instance\\asm1\\config
Please let me knwo if I am missing any.I am trying to access the URL -
http://<servername>:8080/test/foo.html where test/foo.html is located at c:\apache\apache2 (the docroot of Apache)
The Default.properties is as follow -
# Default policydomain settings for this runtime. Each policydomain can override these settings by creating their own
# configuration file named after the policydomain - if the policydomain is named "mydomain" then it's properties is named
# "mydomain.properties"
# All of these settings persist until the server which uses this runtime is shut down and restarted (loaded once on startup)
### Authentication settings
# Order in which authentication methods are valued. First mechanism takes precedence over the latter. Valid values are
# FORM - authenticate the user by collecting credentials (asking the user questions)
authentication.precedence=FORM
authentication.initialForm=/test/NamePasswordForm.html
authentication.nameCallback[]=username:/test/NamePasswordForm.html
authentication.passwordCallback[]=password:/test/NamePasswordForm.html
authentication.onatnfailure=/test/atnfailure.html
authentication.onatzfailure=/test/atzfailure.html
authentication.default.resultform=/test/loggedin.html
### Single-sign on domain. Must include at least 2 dots. For example: .bea.com
authentication.cookiedomain=.bea.com
### SAML Identity Transfer settings
# If this is set to true, SAML identity transfer is accepted in the post handler
saml.incoming.enable=false
# The URL that consumes SAML Browser/POST data -- SAMLIn.html is a sample
saml.incoming.url=<SAMLAssertionConsumerServiceURL>/test/SAMLIn.html
# If this is set to true, SAML SSIs are enabled, allowing for outgoing identity transfer via the SAML template
saml.outgoing.enable=false
### Role Mapping Settings
# Any value other than "true" is false and disables role mapping
rolemapping.enable=false
# The name of the variable injected into the request stream which contains a comma seperated list of roles
rolemapping.name=WLES_ROLES
### Credential Mapping Settings
# Any value of than "true" is false and disables credential mapping
credentialmapping.enable=false
# A comma seperated list of credentials to query the runtime for on each request. If the examples
# exist they will be added into the request stream and made availble to subsequant cgis
# If the credentials don't exist or are not defined no credentials are injected into the request stream
credentialmapping.credtypes=weblogic.UserPassword
# The name prepended to the credential before it is added to the request stream. A number may be added to make the name
# unique - i.e. CRED1=B64(SAMLResponse) CRED2=DBPassword etc
credentialmapping.prefix=CRED
### Session settings
# Session inactivity timeout in seconds
session.inactivity.timeout=600
# Session absolute timeout in seconds - causing the user to re-authenticate - zero means never
session.absolute.timeout=86400
# Session logoff URL
session.forcedlogoffURL=/test/logoff.html
# Session cookie prefix - used to create a unique session cookie - any string including null will do - a unique code is attached to the prefix
session.cookie.name=ALESIdentityAssertion
# Session cookie prefix - used to create a session cookie for non sensitive data
session.misc.cookie.name=WLES_MISC
# The SSM WS Configuration ID
ssmconfig.default=asm1
### Naming Authorities
namingauthority.resource=ARME_RESOURCE_AUTHORITY
namingauthority.action=ARME_ACTION_AUTHORITY
namingauthority.audit=AUDITBASE
webservice.registry.url=http://192.168.179.130:9000/ServiceRegistry
### SSL Settings
# Directory that contains ssl PEM and configuration files (such as wles-ssm.pem).
# Use forward slashes (/) even on Windows. For example: c:/path1/path2/ssl
ssl.directory=C:/bea/ales32-ssm/apache-ssm/instance/asm1/ssl
### Debug Settings
# The log level (Possible values are error or debug)
log.level=error -
Apache/PHP/SSL/Oracle
to all gurus,
can somebody tell me why my apache won't start when running on 443 port thru sudo mode (root) though that port is defined on my httpd.conf ... if I look at error messages below, somewhere along the line, it try to use a 64bit oracle lib "/lib" ... do you know which config file i need to modify so that it will use the 32bit lib "/lib32" ... if I start apache using normal oracle account, it will start but it won't bind on 443 so i used other port (higher port)... i would appreciates all your thought about this... TIA
sunsjc03# ./apachectl startssl
Syntax error on line 30 of /u01/app/oracle/product/9.2.0.4/apache1331/conf/httpd.conf:
Cannot load /u01/app/oracle/product/9.2.0.4/apache1331/libexec/libphp4.so into server: ld.so.1: /u01/app/oracle/product/9.2.0.4/apache1331/bin/httpd: fatal: /u01/app/oracle/product/9.2.0.4/lib/libclntsh.so.9.0: wrong ELF class: ELFCLASS64
./apachectl startssl: httpd could not be startedFrom the error message it looks like the PHP-OCI extension has been linked with the 64-bit OCI library in $ORACLE_HOME/lib ( I don't how this step worked for you). You can try relinking/rebuilding your libphp4.so with the 32-bit library in $ORACLE_HOME/lib32. This should work.
regards,
--karthik -
Version of Application Server for Oracle E-Business suite 12.0.4 ?
Hi ,
I want to know the complete version of Application Server for Oracle E-Business suite 12.0.4 . The installation guide/ rapid install mention this :
A) Oracle database 10.2.0.3
B)Applications Server : 10.1.3 oc4j
C) Application Server : 10.1.2.2 (forms)
D) E-business Applications
But I want to know the complete version for 10.1.3 .Is it 10.1.3-3 or is it 10.1.3.4 or both ? This will help us ind determining the patches which can be applied ?
Thanks.
Best Regards,
brindaHi,
Please refer to:
Note: 468311.1 - Script to find Apache, Java, JRE, Forms version for Oracle E-Business Suite R12
Note: 454811.1 - Upgrading to the Latest OracleAS 10g 10.1.3.x Patch Set in Oracle E-Business Suite Release 12
Regards,
Hussein -
Accessing many databases with HTML DB from a single Apache Server
Hello;
I am planning the install of 10g and HTML DB on a HPUX server with many databases running out of many Oracle Homes 9.2.0, 9.0.1 and 8.1.7. I will be upgrading a number of the existing databases to 10g and want to access them with HTML DB.
My question is how can I install HTML DB on many databases and use a single Apache Server to access them?Where would I find the DADs? a default installation of htmldb puts the modplsql DAD, "pls/htmldb", in a marvel.conf file located in $OHS_HOME/Apache/modplsql/conf/marvel.conf
What would the URLs look like? not sure what you're asking. if you're asking about how the change in DAD's would affect the URLs you're calling, though, you should consider looking over the OHS (oracle http server) doc some more before making these types of customizations.
And how would I install the HTML DB in the different databases?
Would I use the installer or scripts?the only supported way to install htmldb is via the 10g Companion CD. just use that installer to point to your different db's.
regards,
raj -
Error_log in apache server keep on growing
I found the error_log in apache server keep on growing in every second! Anyone can tell me why it's growing like this?
I have Oracle 9i Database on Windows XP Professional on Core 2 Duo/ 2 GB RAM machine.
I have a peculiar problem. The error_log file in C:\oracle\Apache\Apache\logs\error_log keeps increasing in size rapidly, until my whole hard disc of 250 GB gets used up. The first time I had this problem, I thought it was some virus, then I traced it to this file.
I tried deleted this file, but again its cones & stars growing until I STOP HTTP server.
I also tried to make error_log file 'READ ONLY' but issue is not resolved.
Can anyone tell me what the cause and solution of this problem is.
Help appreciated!Please See below:
[Sun Jul 18 15:07:03 2010] [notice] FastCGI: process manager initialized
[Sun Jul 18 15:07:03 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" started (pid 2720)
[Sun Jul 18 15:07:04 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 2720) terminated with exit with status '3504464'
[Sun Jul 18 15:07:08 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 2792)
[Sun Jul 18 15:07:08 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 2792) terminated with exit with status '3504464'
[Sun Jul 18 15:07:13 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 3336)
[Sun Jul 18 15:07:13 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 3336) terminated with exit with status '3504464'
[Sun Jul 18 15:07:18 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 3044)
[Sun Jul 18 15:07:18 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 3044) terminated with exit with status '3504464'
[Sun Jul 18 15:07:23 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 3124)
[Sun Jul 18 15:07:24 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 3124) terminated with exit with status '3504464'
[Sun Jul 18 15:07:28 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 628)
[Sun Jul 18 15:07:28 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 628) terminated with exit with status '3504464'
[Sun Jul 18 15:07:33 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 3168)
[Sun Jul 18 15:07:33 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 3168) terminated with exit with status '3504464'
[Sun Jul 18 15:07:38 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 2320)
[Sun Jul 18 15:07:38 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 2320) terminated with exit with status '3504464'
[Sun Jul 18 15:07:43 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 2108)
[Sun Jul 18 15:07:43 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 2108) terminated with exit with status '3504464'
[Sun Jul 18 15:07:48 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 488)
[Sun Jul 18 15:07:48 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 488) terminated with exit with status '3504464'
[Sun Jul 18 15:07:53 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 524)
[Sun Jul 18 15:07:53 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 524) terminated with exit with status '3504464'
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 560)
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
and so on........ -
HI all,
I have an assignment to replicate production installation to another environment on another server. Currently what is installed on those servers is:
- Main server (production): Windows server 2000 SP4, Forms 6i service, Reports 6i service , iSuites HTTP listener. In some documents I found that 9i Rel1 Applications Server was actually installed creating Forms60service, Reports60service and HTTP listener. Unfortunately, I don't have access to 9i Rel1 disks (only 9i Rel2 and Forms6i Rel2) and since it is desupported, I can't download them online.
- Other server: Windows Server 2003 ( with installed Forms 10g and services disabled).
What I did was install Forms6i server and Apache web server. Apache server works, and I made aliases so it can access files on the server. Aliases were taken from documentation of production installation. However, I don't know how to make Apache listen for forms server requests. I assume in 9i it is handled automatically, like in 10g?
Questions:
-Does 9i Rel1 create those services? I'm new to 9i and 6i AS, and don't have disks to test it. Is there a way to download 9i Rel1?
-How can Apache be configured to handle requests to Forms server? Its now listening on port 81, and when called gives a blank page. JInitiator isn't started.
Any help would be greatly appreciated.If you are using a standalone Apache install and not the one included with iAS 1.0.2, you must run the Forms Server. If you are using the iAS installation, you can use either the Forms Server or the Forms Servlet. The Forms Servlet takes advantage of JServ, which allows requests from Forms to route on the same port by which the HTTP listener is using. On the other hand, if you don't use the Servlet and instead use the Forms Server, requests from the client are routed from the client directly to the Forms Server on a different port. In this case the HTTP Server is only used for the initial request which then pass future requests to the server. The down side to this is that you must run 2 servers and have 2 available ports - one for the http listener and one for Forms. This is why using the Servlet is preferred.
I believe you must be using Forms 6i Release 2 (6.0.8.11) plus patch 10 or 11 or newer in order to successfully deploy using Servlet. This translates into being iAS 1.0.2.2.2 if I recall correctly.
Here are some doc references which may be of help:
http://www.oracle.com/technetwork/developer-tools/forms/documentation/techlisting-084882.html
http://www.oracle.com/technetwork/documentation/6i-forms-084462.html
http://www.oracle.com/technetwork/documentation/forms-094534.html
http://www.oracle.com/technetwork/documentation/dev-arch-093406.html -
How to user plsql in apache server
i have a web used ows 3.0 web server and oracle 8.0 database.
now i want to migrate it to linux useing apache web server.but the plsql produce doesn't work , i konw it can use oas 4.0 , but i want use apache server.
how can i do???Thanks anyway,
I have known how to config it. It depends on Servlet Engine, not on Apache Server. -
Upgrading Apache server independently
Just wonder if there is any way to upgrade Apache httpd that comes with 9iAS (or 8i 8.1.7) to a newer release from httpd.apache.org without breaking the whole thing? I tried to do that on W2K:
1) downloaded latest binary for Win32 (1.3.19 at that time)
2) installed it locally at my dev PC
3) copied Apache.exe, ApacheCore.dll and modules over existing files (and fixed up LoadModule in httpd.conf to match new module names)
4) tried to start the server and it crashed complaining about modplsql.dll being invalid Apache module. In fact, none of the modules that came with 8.1.7/iAS 1.0.2.0.0 was recognized as valid. And Oracle-supplied 1.3.12 was complaining about new modules that came with 1.3.19 binary dist for 'accessing Apache API in the wrong way' or something similar to this.
5) So much for the upgrade :( I had to revert back to 1.3.12 which is known to have bugs and security issues.
So, the question is:
is it possible to use latest binary distribution of Apache httpd to upgrade Oracle HTTP Server powered by Apache by copying binaries over existing ones? If yes - what config or whatever changes should be made for new Apache to recognize modplsql.dll as valid module?
If this is not possible - how Oracle goes about fixing bugs and security issues in their custom version of Apache that are fixed in new releases from Apache.org? I didn't see any patches/upgrades for httpd on MetaLink (did I search for them in a wrong place?)
thanks in advance,
Bob.I would be quite interested in the answer to this as well. Apache 1.3.12 (used with iAS 1.0.2) has numerous security issues, which have been patched with newer versions of Apache.
Does Oracle plan on supporting these security patches?
null
Maybe you are looking for
-
I'm working with an embedded db query that specifies columns by name in the result set, i.e., no *. However, the order of the columns in the result set seem to be quite random - or at least dependent on which column is being searched. I'm showing the
-
Creative Cloud alerted me that there was an update for Flash Pro, but it has failed repeatedly. I get a message that the update failed and asks me to try again, but it keeps failing. How do I fix this problem?
-
I have also tried http and https.
-
I am trying to create a library of product specs for the products our company sells. The company is in the process of rebranding and hence all of the documentation needs to be produced on the current letterhead. How ever in a few months this will cha
-
Unable to access Web Method after deploying into the server
Hi, I'm Unable to access Web method after deploying into the server. My Web method is [WebMethod] [ScriptMethod(ResponseFormat = ResponseFormat.Json )] public object getOwners() DataTable dt = _qbObj.returnDDLData("employeedetails", "EmpID", "EmpFir