Database connection with Dreamwever MX 2004
Hi, everybody. I'm a new in this area. So, may be, the
solution of the problem that I've faced is very simple!
When I’m connecting to the MySQL database it says:
HTTP error code 404 File Not Found. Here are some possible
reasons for the problem:
1) There is no testing server running on the server machine.
2) The testing server specified for this site does not map to
the …httpdocs/_mmServerScript/MMHTTPDB.php URL. Verify that
the URL Prefix maps to the root of the site.
But the file MMHTTPDB.php exists at the place specified!
Please, help me!
What scripting language are you using?
What do you get when you browse to
http://localhost?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"SardorWeb" <[email protected]> wrote in
message
news:g8n3dc$lb5$[email protected]..
> Hi, everybody. I'm a new in this area. So, may be, the
solution of the
> problem
> that I've faced is very simple!
> When I?m connecting to the MySQL database it says:
> HTTP error code 404 File Not Found. Here are some
possible reasons for the
> problem:
> 1) There is no testing server running on the server
machine.
> 2) The testing server specified for this site does not
map to the
> ?httpdocs/_mmServerScript/MMHTTPDB.php URL. Verify that
the URL Prefix
> maps to
> the root of the site.
> But the file MMHTTPDB.php exists at the place specified!
> Please, help me!
>
Similar Messages
-
NetBean, I can't establish the oracle database connection with version 9i.
In NetBean, I can't establish the oracle database connection with version 9i.
I have create the datasource and it is fine.
when i try to access the tables i get a message
"Unable to refresh children, connection is broken, unsupported feature"
in netbeans.
Does netbeans support oracle 9i version.
Thanks,
VKKIn NetBean, I can't establish the oracle database connection with version 9i.
I have create the datasource and it is fine.
when i try to access the tables i get a message
"Unable to refresh children, connection is broken, unsupported feature"
in netbeans.
Does netbeans support oracle 9i version.
Thanks,
VKK -
SQL Server Database Connectivity with Visual Studio 2012 - Help Needed
Hello,
I am having Visual Studio 2012 and SQL Developer 4.0 installed on my system with Windows 8 - 64bit
I want to shift a VS project with an SQL database connectivity to another new Laptop (above mentioned) ...
I have the project opened in VS without bieng connected to the database..
I have a backup file of the database (which needs to be restored to a new created database on SQL Developer)
The problem:
I am unable to create a server connection in SQL Developer which will allow me to create a new database followed by the recovery from backup file.
I am getting the following error message when I try to create a connection:
Status: Faliure - IO error: The network adapter could not establish a connection
Please help me in setting up a server connection and adding a new sql databaseThe error message seemed unfamiliar to me and since I had never heard of SQL Developer before, I went to Google. Google might be pulling my legs, but it appears that SQL Developer is related to Oracle. This forum is devoted to SQL Server, so you are in the
wrong place.
Try finding a forum for SQL Developer.
Erland Sommarskog, SQL Server MVP, [email protected] -
How TO use configurable Database connection with ADF BC
I have developed a simple JSF/ ADF BC web application that connects to a database and read/display data from the db tables. I have successfully deployed the application to Tomcat 5.5.17. However, now i need to change the database the application is connecting to. My question is How can I change the Database connection without having to change the application modules or rebuild the war file ??? In other words, is there a specific file (xml) where the database connection can be changed?
If you set up the application with a data source (I am not sure if this is possible using another app server, I use OC4J), then you would just change it there. However if you created a database connection in the JDEV and pointed your data model to that, then you will have to change and rebuild.
You might be able to edit the xml file that contains the setttings, I am not sure my CM guys dont allow this, all of our changes have to go through our code repository. -
Database connectivity with MS Acess using WSAD5.1
I am using WSAD5.1 as IDE and development tool. I am trying to connect to MS Access database using following lines of code
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); //.newInstance();
dbConnection = DriverManager.getConnection("jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};DBQ=C:\\customers.mdb");
I tried creating system DSN and changing url as "jdbc:odbc:Test" where Test is DSN.
I have rt.jar file in my class path.
When I run this program from command prompt I am getting connectivity with proper results.
The problem is when it is run with WSAD inweb project I am getting an error
"java.sql.SQLException: No suitable driver".
Am I required to change any environmental settings?try this Code
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
dbConnection = DriverManager.getConnection("jdbc:odbc:test"); <Here Test is the driver name>and add the tools.jar file in the IDE li directory or in to the Project path of the IDE -
Create database connection with Mysql
Hi, all:
inside JDeveloper, i try to create a database connection for Mysql (third party
JDBC driver). I input all needed parameters into
JDeveloper database connection dialog, and test connection, the error message
says 'Unable to find driver org.gjt.mm.mysql.Driver". The jar file contains driver
is listed in system classpath, and Mysql and MM-Mysql JDBC driver are tested with
other applications and there is no problem.
So, what i should do to create such a connection ??
Any help will be appreciated. thank you in advance.
kevin.The connectio URL could look like this:
(leave the User-, Password-, and Role-fields, in the tab before, empty)
Java Class Name: org.gjt.mm.mysql.Driver
URL: jdbc:mysql://localhost:3306/test?ultradevhack=true&?user=myuser&?password=mypassword -
Database connectivity with BI 10.1.3.4
Hi,
I installed Oracle BI Enterprise 10.1.3.4 and next I want to connect Oracle 10g Database or Oracle 11g Database to access the tables to generate reports.
Please help with the documentation or steps to connect with my local database.
Thanks.Hi ,
From Bipublisher you connect to the Database from Admin Tab.Check the below link
http://www.oracle.com/technetwork/middleware/bi-enterprise-edition/tutorials/obiee10g-453439.html
It will be useful for you.
Thanks,
Ananth v -
Slow database connection with mysql
I am using MySQL Server 5.0 as my backend and java1.5 as my front end for the GUI. The following statements I use to connect to MYSql.
Class.forName("com.mysql.jdbc.Driver").newInstance();
String url = "jdbc:mysql://localhost:3306/mysql";
The database access seems to be very slow.
I have a data file with about 3000 lines. The parser reads the file one line at a time, formats an insert query and calls executeUpdate. The process takes more than 2 minutes.
What is slowing down my process? Please help
ThanksI am using MySQL Server 5.0 as my backend and java1.5
as my front end for the GUI. The following statements
I use to connect to MYSql.
Class.forName("com.mysql.jdbc.Driver").newInstance();
String url = "jdbc:mysql://localhost:3306/mysql";
The database access seems to be very slow.
I have a data file with about 3000 lines. The parser
reads the file one line at a time, formats an insert
query and calls executeUpdate. The process takes more
than 2 minutes.
What is slowing down my process? Please help
ThanksHi,
1. Are you opening and closing the database connection ,During inserting every record from data file?
If so, please avoid opening closing connection for each query execution.
Because , opening and closing the database connection is a time consuming one.
You should open all the required database connections, before you use them or use
Database connection pooling if your application is sucah a big one.
2. Try PreparedStatment instead of Statement. Because Prepared statment query is
compiled and stored into Cache. so if you are executing the same query again and again, the compiled query will be picked up from cache, by replacing with new
parameters
3. Check the logic you used to pick record from datafile and insert into database .
4. Check your RAM size , if you installed database and jvm on same machine.
if so , increase your RAM size.
thanks,
nvseenu -
Database connection with mysql
i have my server as follows:
import java.rmi.*;
public class JobServer
public static void main(String[] args)
try
JobImpl j = new JobImpl();
Naming.rebind("//"+"localhost"+"/JobImpl",j);
System.out.println("Registered");
catch (Exception e)
System.out.println("Exception occured in JobServer ... " +e);
and my interface implementation:
import java.rmi.*;
import java.rmi.server.*;
import java.sql.*;
public class JobImpl extends UnicastRemoteObject implements JobInt
String host="localhost";
String user="root";
String pass="admin";
String db="db";
String conn;
ResultSet rs;
Statement st;
public JobImpl() throws RemoteException
super();
try
Class.forName("com.mysql.jdbc.Driver");
conn = "jdbc:mysql://" + host + "/" + db + "?user=" + user + "&password=" + pass;
Connection Conn = DriverManager.getConnection(conn);
st = Conn.createStatement();
catch (Exception e)
System.out.println("problem while establishing connection"+e);
public String getname(int jobno) throws RemoteException
try
rs = st.executeQuery("Select name from job whwre jobno="+jobno);
rs.next();
return(rs.getString("name"));
catch (Exception e)
e.printStackTrace();
return null;
when i 'javac JobServer' on the command prompt, i have the following error:
problem while establishing connection java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
Exception occured in JobServer ... java.rmi.ConnectionException: Connection refused to host: localhost; nested exception is :
java.net.ConnectionException: Connection refused: connect
apparently theres a problem with my database connection... the connection isnt right? plz helpproblem while establishing connection
java.lang.ClassNotFoundException:
com.mysql.jdbc.DriverSo fix that first. It's just a matter of installing the MySQL JAR file(s) in the appropriate place, i.e. somewhere on your CLASSPATH. Read their documentation. -
Database connection with JRC and CR Viewer version
Hi,
I'm upgrading Crystalreportviewer11 to Crystalreportviewer115. I know, I need this directories: WEB_INF\Lib, WEB-INF\Classes and Crystalreportviewer115.
Crystalreportviewer115 I take from C:\Program Files\Business Objects\common\3.5\ Crystalreportsviewer115. There is file CrConfig.xml (CrystalreportEngine.xml) in Program Files\Common Files\Business Objects\3.5\java. This file belongs to WEB-INF\Classes. But I don't know the path to find .jar files (.jar files belong to WEB_INF\Lib).
My context.xml looks:
My web.xml looks:
name_appl
Zobrazeni reportu
crystal_image_uri
crystalreportviewers115
My CrystalreportEngine.xml looks:
../../../E3/Reports_CR11
10
B6W64-010S200-000KA2W-8WT1
In this code I changed version of crystalreportviewer, other is the same. I don't know, if I should change the keycode too. This keycode was used for Crystalreportviewer11. Is it the same for Crystalreportsviewer115 or different?
I deployed my directory WebReports to Tomcat (by Tomcat Manager). The variables are Context Path= /CRV and Configuration file URL= file:C:\WebReports\context.xml. The deploying was succesful. Then I set in Tomcat administration tool the jdbc connection. (Tomcat Server -> Service (Catalina) -> Host (localhost) -> Context (/CRV) -> Resources -> Environment Entries and Environment Entry Actions on the right tab)
I set Name= jdbc/INFO, Type= java.lang.String, Value=
!oracle.jdbc.driver.OracleDriver!jdbc:oracle:thin:{userid}/{ password}}@{server}:{port}:{oracle instance name}. I saved changes and commited them.I restarted Apache Tomcat service.
I run the report. It always open a new database connection. I check user ID and password, click OK. But the report isn't running, i can't see this report in CR Viewer. But I see Database Logon screen again. Where is a problem?
What can I set up in Tomcat administration tool yet?
Have you some tips for upgrading CR Viewer11 to 115?
Regards,
VeronikaThank you for your answer.Please, do you know, where should I search all new .jar files? (for my WEB-INF/lib directory).
My last logs (after running report and connection) look:
admin log:
+30.10.2007 14:36:22 org.apache.catalina.core.ApplicationContext log+
INFO: action: Entered TreeControlTestAction:perform()
+30.10.2007 14:36:22 org.apache.catalina.core.ApplicationContext log+
INFO: action: tree param is null
+30.10.2007 14:36:22 org.apache.catalina.core.ApplicationContext log+
INFO: action: Select event on Globally Administer Data Sources
+30.10.2007 14:37:52 org.apache.catalina.core.ApplicationContext log+
INFO: action: Entered TreeControlTestAction:perform()
+30.10.2007 14:37:52 org.apache.catalina.core.ApplicationContext log+
INFO: action: Tree expand/contract on Catalina:type=Service,serviceName=Catalina
+30.10.2007 14:37:52 org.apache.catalina.core.ApplicationContext log+
INFO: action: Found Node: Catalina:type=Service,serviceName=Catalina
+30.10.2007 14:37:53 org.apache.catalina.core.ApplicationContext log+
INFO: action: Entered TreeControlTestAction:perform()
+30.10.2007 14:37:53 org.apache.catalina.core.ApplicationContext log+
INFO: action: Tree expand/contract on Catalina:type=Host,host=localhost
+30.10.2007 14:37:53 org.apache.catalina.core.ApplicationContext log+
INFO: action: Found Node: Catalina:type=Host,host=localhost
+30.10.2007 14:37:55 org.apache.catalina.core.ApplicationContext log+
INFO: action: Entered TreeControlTestAction:perform()
+30.10.2007 14:37:55 org.apache.catalina.core.ApplicationContext log+
INFO: action: Tree expand/contract on Catalina:j2eeType=WebModule,name=//localhost/CRV,J2EEApplication=none,J2EEServer=none
+30.10.2007 14:37:55 org.apache.catalina.core.ApplicationContext log+
INFO: action: Found Node: Catalina:j2eeType=WebModule,name=//localhost/CRV,J2EEApplication=none,J2EEServer=none
+30.10.2007 14:38:00 org.apache.catalina.core.ApplicationContext log+
INFO: action: Entered TreeControlTestAction:perform()
+30.10.2007 14:38:00 org.apache.catalina.core.ApplicationContext log+
INFO: action: tree param is null
+30.10.2007 14:38:00 org.apache.catalina.core.ApplicationContext log+
INFO: action: Select event on Context Environment Entries Catalina:j2eeType=WebModule,name=//localhost/CRV,J2EEApplication=none,J2EEServer=none
+30.10.2007 14:38:23 org.apache.catalina.core.ApplicationContext log+
INFO: action: Entered TreeControlTestAction:perform()
+30.10.2007 14:38:23 org.apache.catalina.core.ApplicationContext log+
INFO: action: tree param is null
+30.10.2007 14:38:23 org.apache.catalina.core.ApplicationContext log+
INFO: action: Select event on Globally Administer Data Sources
+30.10.2007 14:38:37 org.apache.catalina.core.ApplicationContext log+
INFO: action: Entered TreeControlTestAction:perform()
+30.10.2007 14:38:37 org.apache.catalina.core.ApplicationContext log+
INFO: action: tree param is null
+30.10.2007 14:38:37 org.apache.catalina.core.ApplicationContext log+
INFO: action: Select event on Catalina:j2eeType=WebModule,name=//localhost/CRV,J2EEApplication=none,J2EEServer=none
+30.10.2007 14:38:40 org.apache.catalina.core.ApplicationContext log+
INFO: action: Entered TreeControlTestAction:perform()
+30.10.2007 14:38:40 org.apache.catalina.core.ApplicationContext log+
INFO: action: tree param is null
+30.10.2007 14:38:40 org.apache.catalina.core.ApplicationContext log+
INFO: action: Select event on Context Environment Entries Catalina:j2eeType=WebModule,name=//localhost/CRV,J2EEApplication=none,J2EEServer=none
+30.10.2007 14:38:50 org.apache.catalina.core.ApplicationContext log+
INFO: action: Entered TreeControlTestAction:perform()
+30.10.2007 14:38:50 org.apache.catalina.core.ApplicationContext log+
INFO: action: tree param is null
+30.10.2007 14:38:50 org.apache.catalina.core.ApplicationContext log+
INFO: action: Select event on Context Data Sources Catalina:j2eeType=WebModule,name=//localhost/CRV,J2EEApplication=none,J2EEServer=none
+30.10.2007 14:41:04 org.apache.catalina.core.ApplicationContext log+
SEVERE: action: Error invoking operation addResource
javax.management.RuntimeOperationsException: Exception invoking method addResource
+ at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:511)+
+ at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(Unknown Source)+
+ at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(Unknown Source)+
+ at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)+
+ at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)+
+ at org.apache.webapp.admin.resources.SaveDataSourceAction.execute(SaveDataSourceAction.java:178)+
+ at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)+
+ at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)+
+ at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1192)+
+ at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:430)+
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)+
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)+
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)+
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)+
+ at org.apache.webapp.admin.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:123)+
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)+
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)+
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)+
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)+
+ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)+
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)+
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)+
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)+
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)+
+ at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)+
+ at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)+
+ at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)+
+ at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)+
+ at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)+
+ at java.lang.Thread.run(Unknown Source)+
Caused by: java.lang.NullPointerException
+ at org.apache.catalina.mbeans.MBeanUtils.createObjectName(MBeanUtils.java:846)+
+ at org.apache.catalina.mbeans.NamingResourcesMBean.addResource(NamingResourcesMBean.java:230)+
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
+ at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)+
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)+
+ at java.lang.reflect.Method.invoke(Unknown Source)+
+ at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:501)+
+ ... 29 more+
+30.10.2007 14:47:06 org.apache.catalina.core.ApplicationContext log+
INFO: action: Entered TreeControlTestAction:perform()
+30.10.2007 14:47:06 org.apache.catalina.core.ApplicationContext log+
INFO: action: tree param is null
+30.10.2007 14:47:06 org.apache.catalina.core.ApplicationContext log+
INFO: action: Select event on Context Environment Entries Catalina:j2eeType=WebModule,name=//localhost/CRV,J2EEApplication=none,J2EEServer=none
+30.10.2007 14:50:24 org.apache.catalina.core.ApplicationContext log+
INFO: action: Debugging -- changes saved to conf/server.xml
catalina log
+31.10.2007 8:22:31 org.apache.coyote.http11.Http11Protocol init+
INFO: Initializing Coyote HTTP/1.1 on http-8200
+31.10.2007 8:22:31 org.apache.catalina.startup.Catalina load+
INFO: Initialization processed in 1141 ms
+31.10.2007 8:22:32 org.apache.catalina.core.StandardService start+
INFO: Starting service Catalina
+31.10.2007 8:22:32 org.apache.catalina.core.StandardEngine start+
INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
+31.10.2007 8:22:32 org.apache.catalina.core.StandardHost start+
INFO: XML validation disabled
+31.10.2007 8:22:35 org.apache.coyote.http11.Http11Protocol start+
INFO: Starting Coyote HTTP/1.1 on http-8200
+31.10.2007 8:22:35 org.apache.jk.common.ChannelSocket init+
INFO: JK: ajp13 listening on /0.0.0.0:8009
+31.10.2007 8:22:35 org.apache.jk.server.JkMain start+
INFO: Jk running ID=0 time=0/30 config=null
+31.10.2007 8:22:35 org.apache.catalina.storeconfig.StoreLoader load+
INFO: Find registry server-registry.xml at classpath resource
+31.10.2007 8:22:35 org.apache.catalina.startup.Catalina start+
INFO: Server startup in 3846 ms
host - manager log is empty
jacarta service log
+[2007-10-30 08:32:20] [info] Running Service...+
+[2007-10-30 08:32:20] [info] Starting service...+
+[2007-10-30 08:32:22] [info] Service started in 1992 ms.+
+[2007-10-30 10:29:40] [info] Service STOP signaled+
+[2007-10-30 10:29:40] [info] Stopping service...+
+[2007-10-30 10:29:43] [info] Service stopped.+
+[2007-10-30 10:29:43] [info] Run service finished.+
+[2007-10-30 10:29:43] [info] Procrun finished.+
+[2007-10-30 10:29:49] [info] Running Service...+
+[2007-10-30 10:29:49] [info] Starting service...+
+[2007-10-30 10:29:50] [info] Service started in 1672 ms.+
+[2007-10-30 11:10:11] [info] Service STOP signaled+
+[2007-10-30 11:10:11] [info] Stopping service...+
+[2007-10-30 11:10:13] [info] Service stopped.+
+[2007-10-30 11:10:13] [info] Run service finished.+
+[2007-10-30 11:10:13] [info] Procrun finished.+
+[2007-10-30 11:10:16] [info] Running Service...+
+[2007-10-30 11:10:16] [info] Starting service...+
+[2007-10-30 11:10:17] [info] Service started in 1321 ms.+
+[2007-10-30 11:23:33] [info] Service STOP signaled+
+[2007-10-30 11:23:33] [info] Stopping service...+
+[2007-10-30 11:23:34] [info] Service stopped.+
+[2007-10-30 11:23:34] [info] Run service finished.+
+[2007-10-30 11:23:34] [info] Procrun finished.+
+[2007-10-30 11:23:38] [info] Running Service...+
+[2007-10-30 11:23:38] [info] Starting service...+
+[2007-10-30 11:23:39] [info] Service started in 1261 ms.+
+[2007-10-30 14:50:27] [info] Service STOP signaled+
+[2007-10-30 14:50:27] [info] Stopping service...+
+[2007-10-30 14:50:28] [info] Service stopped.+
+[2007-10-30 14:50:28] [info] Run service finished.+
+[2007-10-30 14:50:28] [info] Procrun finished.+
+[2007-10-30 14:50:33] [info] Running Service...+
+[2007-10-30 14:50:33] [info] Starting service...+
+[2007-10-30 14:50:34] [info] Service started in 1271 ms.+
+[2007-10-30 15:11:53] [info] Service STOP signaled+
+[2007-10-30 15:11:53] [info] Stopping service...+
+[2007-10-30 15:11:55] [info] Service stopped.+
+[2007-10-30 15:11:55] [info] Run service finished.+
+[2007-10-30 15:11:55] [info] Procrun finished.+
+[2007-10-30 15:12:01] [info] Running Service...+
+[2007-10-30 15:12:01] [info] Starting service...+
+[2007-10-30 15:12:02] [info] Service started in 1281 ms.+
+[2007-10-30 15:13:44] [info] Service STOP signaled+
+[2007-10-30 15:13:44] [info] Stopping service...+
+[2007-10-30 15:13:46] [info] Service stopped.+
+[2007-10-30 15:13:46] [info] Run service finished.+
+[2007-10-30 15:13:46] [info] Procrun finished.+
+[2007-10-30 15:13:48] [info] Running Service...+
+[2007-10-30 15:13:48] [info] Starting service...+
+[2007-10-30 15:13:50] [info] Service started in 1291 ms.+
+[2007-10-30 15:57:49] [info] Console SHUTDOWN event signaled+
+[2007-10-30 15:57:49] [info] Stopping service...+
+[2007-10-30 15:57:50] [info] Service stopped.+
+[2007-10-30 15:57:50] [info] Run service finished.+
+[2007-10-30 15:57:50] [info] Procrun finished.+
localhost log
+30.10.2007 8:32:31 org.apache.catalina.core.ApplicationContext log+
+INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]+
+30.10.2007 9:39:30 org.apache.catalina.core.StandardWrapperValve invoke+
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
+ at org.apache.jsp.param_jsp._jspService(org.apache.jsp.param_jsp:61)+
+ at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)+
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)+
+ at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)+
+ at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)+
+ at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)+
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)+
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)+
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)+
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)+
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)+
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)+
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)+
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)+
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)+
+ at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)+
+ at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)+
+ at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)+
+ at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)+
+ at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)+
+ at java.lang.Thread.run(Unknown Source)+
+30.10.2007 10:29:56 org.apache.catalina.core.ApplicationContext log+
+INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]+
+30.10.2007 11:10:20 org.apache.catalina.core.ApplicationContext log+
+INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]+
+30.10.2007 11:23:42 org.apache.catalina.core.ApplicationContext log+
+INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]+
+30.10.2007 14:45:58 org.apache.catalina.core.StandardWrapperValve invoke+
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
+ at org.apache.jsp.param_jsp._jspService(org.apache.jsp.param_jsp:61)+
+ at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)+
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)+
+ at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)+
+ at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)+
+ at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)+
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)+
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)+
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)+
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)+
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)+
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)+
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)+
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)+
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)+
+ at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)+
+ at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)+
+ at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)+
+ at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)+
+ at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)+
+ at java.lang.Thread.run(Unknown Source)+
+30.10.2007 14:50:40 org.apache.catalina.core.ApplicationContext log+
+INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]+
+30.10.2007 15:12:08 org.apache.catalina.core.ApplicationContext log+
+INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]+
+30.10.2007 15:13:52 org.apache.catalina.core.ApplicationContext log+
+INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]+
stderr log
+30.10.2007 8:32:23 org.apache.coyote.http11.Http11Protocol init+
INFO: Initializing Coyote HTTP/1.1 on http-8200
+30.10.2007 8:32:23 org.apache.catalina.startup.Catalina load+
INFO: Initialization processed in 1392 ms
+30.10.2007 8:32:23 org.apache.catalina.core.StandardService start+
INFO: Starting service Catalina
+30.10.2007 8:32:23 org.apache.catalina.core.StandardEngine start+
INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
+30.10.2007 8:32:23 org.apache.catalina.core.StandardHost start+
INFO: XML validation disabled
+30.10.2007 8:32:31 org.apache.coyote.http11.Http11Protocol start+
INFO: Starting Coyote HTTP/1.1 on http-8200
+30.10.2007 8:32:32 org.apache.jk.common.ChannelSocket init+
INFO: JK: ajp13 listening on /0.0.0.0:8009
+30.10.2007 8:32:32 org.apache.jk.server.JkMain start+
INFO: Jk running ID=0 time=0/210 config=null
+30.10.2007 8:32:32 org.apache.catalina.storeconfig.StoreLoader load+
INFO: Find registry server-registry.xml at classpath resource
+30.10.2007 8:32:32 org.apache.catalina.startup.Catalina start+
INFO: Server startup in 9113 ms
+30.10.2007 10:29:40 org.apache.coyote.http11.Http11Protocol pause+
INFO: Pausing Coyote HTTP/1.1 on http-8200
+30.10.2007 10:29:41 org.apache.catalina.core.StandardService stop+
INFO: Stopping service Catalina
+30.10.2007 10:29:43 org.apache.coyote.http11.Http11Protocol destroy+
INFO: Stopping Coyote HTTP/1.1 on http-8200
+30.10.2007 10:29:51 org.apache.coyote.http11.Http11Protocol init+
INFO: Initializing Coyote HTTP/1.1 on http-8200
+30.10.2007 10:29:51 org.apache.catalina.startup.Catalina load+
INFO: Initialization processed in 1281 ms
+30.10.2007 10:29:51 org.apache.catalina.core.StandardService start+
INFO: Starting service Catalina
+30.10.2007 10:29:51 org.apache.catalina.core.StandardEngine start+
INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
+30.10.2007 10:29:51 org.apache.catalina.core.StandardHost start+
INFO: XML validation disabled
+30.10.2007 10:29:56 org.apache.catalina.session.StandardManager doLoad+
SEVERE: IOException while loading persisted sessions: java.io.IOException: Unable to recover report source
java.io.IOException: Unable to recover report source
+ at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.readExternal(Unknown Source)+
+ at java.io.ObjectInputStream.readExternalData(Unknown Source)+
+ at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)+
+ at java.io.ObjectInputStream.readObject0(Unknown Source)+
+ at java.io.ObjectInputStream.readObject(Unknown Source)+
+ at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1371)+
+ at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:903)+
+ at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:393)+
+ at org.apache.catalina.session.StandardManager.load(StandardManager.java:320)+
+ at org.apache.catalina.session.StandardManager.start(StandardManager.java:634)+
+ at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:431)+
+ at org.apache.catalina.startup.ContextConfig.managerConfig(ContextConfig.java:391)+
+ at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1042)+
+ at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:255)+
+ at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)+
+ at org.apache.catalina.core.StandardContext.start(StandardContext.java:4053)+
+ at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)+
+ at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)+
+ at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)+
+ at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:589)+
+ at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:536)+
+ at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:471)+
+ at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)+
+ at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)+
+ at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)+
+ at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)+
+ at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)+
+ at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)+
+ at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)+
+ at org.apache.catalina.core.StandardService.start(StandardService.java:450)+
+ at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)+
+ at org.apache.catalina.startup.Catalina.start(Catalina.java:537)+
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
+ at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)+
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)+
+ at java.lang.reflect.Method.invoke(Unknown Source)+
+ at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)+
+ at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)+
+30.10.2007 10:29:56 org.apache.catalina.session.StandardManager start+
SEVERE: Exception loading sessions from persistent storage
java.io.IOException: Unable to recover report source
+ at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.readExternal(Unknown Source)+
+ at java.io.ObjectInputStream.readExternalData(Unknown Source)+
+ at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)+
+ at java.io.ObjectInputStream.readObject0(Unknown Source)+
+ at java.io.ObjectInputStream.readObject(Unknown Source)+
+ at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1371)+
+ at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:903)+
+ at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:393)+
+ at org.apache.catalina.session.StandardManager.load(StandardManager.java:320)+
+ at org.apache.catalina.session.StandardManager.start(StandardManager.java:634)+
+ at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:431)+
+ at org.apache.catalina.startup.ContextConfig.managerConfig(ContextConfig.java:391)+
+ at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1042)+
+ at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:255)+
+ at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)+
+ at org.apache.catalina.core.StandardContext.start(StandardContext.java:4053)+
+ at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)+
+ at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)+
+ at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)+
+ at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:589)+
+ at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:536)+
+ at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:471)+
+ at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)+
+ at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)+
+ at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)+
+ at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)+
+ at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)+
+ at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)+
+ at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)+
+ at org.apache.catalina.core.StandardService.start(StandardService.java:450)+
+ at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)+
+ at org.apache.catalina.startup.Catalina.start(Catalina.java:537)+
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
+ at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)+
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)+
+ at java.lang.reflect.Method.invoke(Unknown Source)+
+ at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)+
+ at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)+
+30.10.2007 10:29:57 org.apache.coyote.http11.Http11Protocol start+
INFO: Starting Coyote HTTP/1.1 on http-8200
+30.10.2007 10:29:57 org.apache.jk.common.ChannelSocket init+
INFO: JK: ajp13 listening on /0.0.0.0:8009
+30.10.2007 10:29:57 org.apache.jk.server.JkMain start+
INFO: Jk running ID=0 time=0/60 config=null
+30.10.2007 10:29:57 org.apache.catalina.storeconfig.StoreLoader load+
INFO: Find registry server-registry.xml at classpath resource
+30.10.2007 10:29:57 org.apache.catalina.startup.Catalina start+
INFO: Server startup in 5979 ms
+30.10.2007 11:10:03 org.apache.catalina.core.StandardContext reload+
INFO: Reloading this Context has started
+30.10.2007 11:10:11 org.apache.coyote.http11.Http11Protocol pause+
INFO: Pausing Coyote HTTP/1.1 on http-8200
+30.10.2007 11:10:13 org.apache.catalina.core.StandardService stop+
INFO: Stopping service Catalina
+30.10.2007 11:10:13 org.apache.coyote.http11.Http11Protocol destroy+
INFO: Stopping Coyote HTTP/1.1 on http-8200
+30.10.2007 11:10:18 org.apache.coyote.http11.Http11Protocol init+
INFO: Initializing Coyote HTTP/1.1 on http-8200
+30.10.2007 11:10:18 org.apache.catalina.startup.Catalina load+
INFO: Initialization processed in 1162 ms
+30.10.2007 11:10:18 org.apache.catalina.core.StandardService start+
INFO: Starting service Catalina
+30.10.2007 11:10:18 org.apache.catalina.core.StandardEngine start+
INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
+30.10.2007 11:10:18 org.apache.catalina.core.StandardHost start+
INFO: XML validation disabled
+30.10.2007 11:10:20 org.apache.coyote.http11.Http11Protocol start+
INFO: Starting Coyote HTTP/1.1 on http-8200
+30.10.2007 11:10:21 org.apache.jk.common.ChannelSocket init+
INFO: JK: ajp13 listening on /0.0.0.0:8009
+30.10.2007 11:10:21 org.apache.jk.server.JkMain start+
INFO: Jk running ID=0 time=0/80 config=null
+30.10.2007 11:10:21 org.apache.catalina.storeconfig.StoreLoader load+
INFO: Find registry server-registry.xml at classpath resource
+30.10.2007 11:10:21 org.a -
I have a form in LiveCycle ES2 that has an ODBC connection to an Access 2007 database. The form works great and all the data populates the form just fine, but next I need a way to save the generated form with the data so it can be sent and signed by people who won't (and can't) have a connection to the database. I am developing on a Windows 7, 64 bit machine and have Adobe Acrobat X Pro, and Adobe Reader X.
Any help or suggestions would be appreciated.
ThanksThanks for the quick response. I tried saving the form as Reader Extended in Acrobat Pro, but if I close the form I saved as extended, it still prompts for the data connection. Is there some setting in Adobe LiveCycle in the properties that maybe needs to be set? I have it set as a Dynamic XML Form. In form properties, there is a tab called data binding, should I have "Allow binding to data not defined by the default data connection" checked? Wasn't sure what "Add data nodes inside the filtered data hierarchy" would do either.
-
Mysql DataBase connectivity with PI 7.1
Dear Experts,
I need to connect Mysql DB table to access the data using PI 7.1 and pass it to ECC RFC.
I have configured the sender JDBC channel details as below
JDBC Driver : com.mysql.jdbc.Driver
Connection : jdbc:mysql://<Server>:<port>/<database>
But it showing the below error while starting my Sender channel in RWB.
We already install the above driver com.mysql.jdbc.Driver in PI again it shows the same error.
Kindly help to resolve this issue.
Best Regards,
MonikandanHi Monikandan,
Looks like the driver installation was done properly. You need to check if the installation was proper and re-deploy with proper steps.
Refer https://scn.sap.com/thread/400726.
Regards,
Lavanya R -
How to set a pooled database connection with oc4j
I am testing my application with ocj4 to see how it performs. But I have some doubts about connection pooling.My application only contains jsp and servlets. My database is oracle 8.1.7 and I use the following data-source.xml entry:
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="pooledPC"
location="pooledPC-location"
pooled-location="jdbc/pool/poolPC"
xa-location="jdbc/xa/HypersonicXADS"
ejb-location="jdbc/ejb/poolPCDS"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="user"
password="pswd"
url="jdbc:oracle:thin:@localhost:1521:sid"
inactivity-timeout="30"
max_connections="40"
min_connections="10"
/>
I have some doubts about:
- which class should I use: I can choose between com.evermind.sql.DriverManagerDataSource, com.evermind.sql.ConnectionDataSource, com.evermind.sql.OrionPooledDataSource, com.evermind.sql.DriverManagerConnectionPoolDataSource, etc.
- From where I should take the connections: from location, pooled-location , ..
Could someone clarify me this issues?
Thanks<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by [email protected]:
Are there some other documents about oc4j that you could sent?
I have been looking on orionserver but the documentation is not complet.<HR></BLOCKQUOTE>
For Orion, your best bet is not the documentation but to search for your topic via the extensive mailing list. It is quite active and discusses such topics as pooled connections...also for other sorts of information, look at www.orionsupport.com and www.jollem.com. -
Database connection with a Java applet
I am having trouble figuring out what I am doing wrong.
I am able to connect to the remote database from inside JDeveloper 9.0.3 and execute some simple SQL statements.
The problem is when I try to run this applet on a web page to test it I get some exceptions.
with e.message()
access denied (java.util.PropertyPermission oracle.jserver.version read)
java.security.AccessControlException: access denied (java.util.PropertyPermission oracle.jserver.version read)
I know from within the IDE I assume the security settings are lax or non-exsistant.
any ideas?
Thanks,
MartinJava applets can only access their host machine. If your database is located on a different server than the web server then you get these errors. To access a database located on a different machine you can use the so callled Applet - Servlet tunelling. You actually use a servelt as a proxy. The applet calls the servlet and the servlet accesses the database.
There is a lot of info on these issues in java.sun.com.
hope this helps! -
Sharing Portal database connection with JSP page
Hi out there,
I implemented a JSP page as a selection form to be integrated into Oracle Portal. This JSP page contains a 'dynamic' form which needs to send queries to the database also integrated in the Portal.
For this I am currently using a JDBC connection but I would prefer to use the internal db connection of the Portal System.
Explanation: The user has to log in to the Portal and after that can call the JSP form. To poulate some comboboxes within this form I need some data from the database and the user does have READING privileges on that database.
Can anybody tell me how to use the user's login and password (or the established connection) to fetch the needed data from the database OTHER than with a jdbc connection?
Thanx in advance!
Cheers,
Thomassorry. not going to happen. you're running in a completely different environment when running Java on Portal. Portal is running in the database; your Java is running on the application server. your Java code must use JDBC to access any database resources, even if Portal related.
it is essential that you implement a connection pool on the application server to optimize your database traffic. check out bitmechanic for a very good open source option.
good luck,
rich
Maybe you are looking for
-
How to set price field in requisite to string
hi, concerning requisite. 3.5/88 or 4.0 the problem: we've got products in our master material data, which have no price assigned. hence we want a note in requisite, 'NA'. At least we don't want a '0.00' price - as buyers tend to look for zero prices
-
Change partitioned column range in range partioning in 11g
Hi All, First of all , i am thankful to all of you for your help and suggestions in past. I have one new issue. I am using Oracle 11. There is one new functionality in 11g to do range paritioning while table creation and do daily partitioning. CREATE
-
What is the best way to get rid of unwanted footage permanently
I have to shot for the bin on some projects working without a script. I then can be under considerable time pressure to get something out so don't have time to to review properly during the log and transfer process as I might have multiple projects g
-
I'm trying to learn about transitions. I have a brief clip that is split into 3 scenes. I've inserted variuos transitions, and I've set the duration as long as 10 seconds, but I still get a cut -- no transition. Rendering the clip doesn't solve th
-
Hello Everybody, I have a script to import some data in my database (this script is based on imports with .dump files (two files which are approximatly 449 Mb and 40 Mb) and it is not working because of my undo tablespace's size. I can see it's full