Database PartnerLink problems
Hello,
I've got a simple procedure that returns a record set of names:
create or replace PACKAGE "ICC_TEST" AS
TYPE names is TABLE of VARCHAR(100) INDEX BY BINARY_INTEGER;
PROCEDURE PROCEDURE_RECORD_SET
(first_name OUT names,
last_name OUT names);
END;
I wanted to create a parner link in Oracle BPEL designer using a database adapter and selecting a stored procedure as a source and this is what I got:
"Error while writing WSDL file blah.wsdl. Exception: WSDLException: faultCode=OTHER_ERROR: The wrapper procedure, ICC_TEST$PROCEDURE_RECORD_SET, could not be found in the package blah1, for the schema blah2."
As far as I understand JDeveloper would try to create a new wrapper procedure together with the package.
Thank you.
I saw similar message WSDLException: faultCode=OTHER_ERROR etc
, I suggest checking that jpublisher package sqljutl is working correctly.
To do this
1. Go to jpub.exe location on the command line.
cd <BPEL_HOME>\integration\jdev\bin>
2. Set up the environment variables etc
<BPEL_HOME>\integration\jdev\bin>..\jdev\bin\setvars.bat -go
3. Have you package and such ready to go, in this case I had a package of BERT
returning a type record and copied the rest from the jpublisher manual, using oracle xe
database here
jpub.exe -u hr/hr -url=jdbc:oracle:thin:@localhost:1521:XE -s BERT:Bert -plsqlp
ackage=WRAPPER1 -plsqlfile=wrapper1.sql,drop
Using Oracle XE complicates things a little but getting it use to jpublisher was how I
resolved the WSDLException: faultCode=OTHER_ERROR generation problem. Which
was to do with the sqljutl package not setup correctly (or in XE at all)
4. If you run and see an error something like
ORA-00904: "SYS"."SQLJUTL"."HAS_DEFAULT": invalid identifier
and no files generated then may have the same type of problem
5. Then following this post
http://susanduncan.blogspot.com/2006/05/creating-plsql-web-service-from-ora
cle.html
I got Jpub in Oracle XE by running
C:\OraBPELPM_2\integration\jdev\sqlj\lib\sqljutl.sql
This creates a package in the sys schema and then grants execute privelge
on it.
So is this package and privileges setup correctly in your case ?
6. Running the jpub command again generated for me a bunch of files etc so
then tried through the dbadapter and worked for my very simple record.
good luck
Similar Messages
-
Hi every body ..plz help me on this..
We are facing database termination problem in ECC6 production syste.
Database: Oracle 10.2, O/S: Windows 2003. Spam :27, SP level 13.
Error is:
Errors in file f:\oracle\p02\saptrace\background\p02_ckpt_6520.trc:
ORA-00206: error in writing (block 3, # blocks 1) of control file
ORA-00202: control file: 'D:\ORACLE\P02\ORIGLOGB\CNTRL\CNTRLP02.DBF'
ORA-27072: File I/O error
OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 33) The process cannot access the file because another process has locked a portion of the file.
When we are performing backup then data base termination occuring freequently.
Give right solution as early as possible.
Thanks,
Nani.Hi,
Have a look at below snote which actually speaks about the oracle error codes
Snote : 546006
within the Snote it says :-
" If you cannot access a database file (for instance a data file, control file or RedoLog) for whatever reason, an ORA-270xx appears. The actual cause comes from additional error messages (usually in the operating system) that occur on ORA-270xx. "
And as per your last update
" ORA-00206: error in writing (block 3, # blocks 1) of control file
ORA-00202: control file: 'D:\ORACLE\P02\ORIGLOGB\CNTRL\CNTRLP02.DBF' "
i think there is problem accessing the database control file. Hence you are facing the above problem.
I think if you recreate your control file i think, it should resolve the problem.
Hope it will be helpful to resolve your problem.
Rgds
Radhakrishna D S -
Immediate HELP in Tomcat 5 to Postgresql 7.4 database connectivity problem
Hi,
I failed to connect Tomcat 5.0.24 with Postgresql
7.4.2. The files created by me and the changes i had
made in the existing files are rates.jsp,
conversionDAO.java, web.xml and server.xml. The error
message on the top of the rest of it was "The value of
useBean class attribute converter.conversionDAO is
invalid". So far I found out that the coding for
database connectivity purpose in conversionDAO.java
cause the error. Another thing is Postgresql jdbc
driver is required to set in the CLASSPATH for the
java file to access the Postgresql database. I don't
know where should I put it in Tomcat for web
application. Anyway, I put it in
$CATALINA_HOME/shared/lib according the book i
refered. I do the database connectivity coding refer
to the Tomcat Kick Start book from Sams Publishing.
Below are the coding involved, please show me the
mistake i had made. Thank you.
----server.xml----
<Context path="/database"
docBase="${catalina.home}/webapps/database" debug="0"
reload="true">
<ResourceParams name="jdbc/conversion">
<parameter>
<name>username</name>
<value>myusername</value>
</parameter>
<parameter>
<name>password</name>
<value>mypassword</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>org.postgresql.Driver</value>
</parameter>
<parameter>
<name>url</name>
<value>jdbc:postgresql://localhost/conversion</value>
</parameter>
</ResourceParams>
</Context>
----web.xml----
<servlet>
<servlet-name>conversionDAO</servlet-name>
<servlet-class>converters.conversionDAO</servlet-class>
</servlet>
<resource-ref>
<res-ref-name>jdbc/conversion</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
----conversionDAO.java----
public conversionDAO() throws SQLException,
NamingException
Context init = new InitialContext();
Context ctx = (Context)
init.lookup("java:comp/env");
DataSource ds = (DataSource)
ctx.lookup("jdbc/conversion");
con = ds.getConnection();
select = con.prepareStatement(
"SELECT rate FROM Exchange WHERE src= ? AND dst =Immediate HELP in Tomcat 5 to Postgresql 7.4 database connectivity problem (cont.)
Errors log
2004-06-06 01:07:53 StandardContext[servlets-examples]SessionListener: contextDestroyed()
2004-06-06 01:07:53 StandardContext[servlets-examples]ContextListener: contextDestroyed()
2004-06-06 01:07:53 StandardContext[jsp-examples]SessionListener: contextDestroyed()
2004-06-06 01:07:53 StandardContext[jsp-examples]ContextListener: contextDestroyed()
2004-06-06 01:07:59 StandardContext[balancer]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]]
2004-06-06 01:08:00 StandardContext[jsp-examples]ContextListener: contextInitialized()
2004-06-06 01:08:00 StandardContext[jsp-examples]SessionListener: contextInitialized()
2004-06-06 01:08:00 StandardContext[servlets-examples]ContextListener: contextInitialized()
2004-06-06 01:08:00 StandardContext[servlets-examples]SessionListener: contextInitialized()
2004-06-06 01:08:01 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /rates/rates.jsp(5,0) The value for the useBean class attribute converters.conversionDAO is invalid.
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:357)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:141)
at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1217)
at org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
at org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
at org.apache.jasper.compiler.Generator.generate(Generator.java:3261)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:244)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:422)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:507)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
----more---- -
Database configuring problem in setup of managed systems in SMD
Hello,
i'm doing the setup of a CRM 5.0 in SMD Abap+Java and the setup results returns following:
"Database configuration problem" with the exception:
java.lang.NullPointerException
at com.sap.smd.server.manager.SMDPluginProperties.setProperty(SMDPluginProperties.java:114)
at com.sap.smd.agent.plugins.database.ConfigurationTask.configureCustomProperties(ConfigurationTask.java:242)
at com.sap.smd.agent.plugins.database.ConfigurationTask.configureProperties(ConfigurationTask.java:370)
at com.sap.smd.agent.plugins.database.ConfigurationTask.execute(ConfigurationTask.java:124)
at com.sap.sup.admin.setup.AppCfgTasks.configureDbApp(AppCfgTasks.java:115)
at com.sap.sup.admin.setup.SetupStep.execute(SetupStep.java:202)
at com.sap.smd.agent.plugins.remotesetup.SapInstance.setup(SapInstance.java:217)
at com.sap.sup.admin.setup.SapCluster.setup(SapCluster.java:461)
at com.sap.sup.admin.setup.SapCluster.access$000(SapCluster.java:26)
at com.sap.sup.admin.setup.SapCluster$SetupRunner.run(SapCluster.java:669)
at java.lang.Thread.run(Thread.java:534)
Anybody knows which can be the problem?
Thanks a lot
CarlosHi Shriraj,
ensure that the installation path is correct. I only put /urs/sap/<SID> and you must put /usr/sap/<SID>/DV***/.
In my case with that the setup returns all in green.
I hope it helps you
Regards
Carlos -
SIMPLE Database Design Problem !
Mapping is a big problem for many complex applications.
So what happens if we put all the tables into one table called ENTITY?
I have more than 300 attributeTypes.And there will be lots of null values in the records of that single table as every entityType uses the same table.
Other than wasting space if I put a clustered index on my entityType coloumn in that table.What kind of performance penalties to I get?
Definition of the table
ENTITY
EntityID > uniqueidentifier
EntityType > Tells the entityTypeName
Name >
LastName >
CompanyName > 300 attributeTypes
OppurtunityPeriod >
PS:There is also another table called RELATION that points the relations between entities.>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
check the coloumn with WHERE _entityType='PERSON'
as there is is clustered index on entityType...there
is NO performance decrease.
there is also a clustered index on RELATION table on
relationType
when we say WHERE _entityType ='PERSON' or
WHERE relationType='CONTACTMECHANISM'.
it scans the clustered index first.it acts like a
table as it is physically ordered.I was thinking in terms of using several conditions in the same select, such as
WHERE _entityType ='PERSON'
AND LastName LIKE 'A%' In your case you have to use at least two indices, and since your clustered index comes first ...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Have you ever thought of using constraints in your
modell? How would you realize those?
...in fact we did.We have arranged the generic object
model in an object database.The knowledge information
is held in the object database.So your relational database is used only as a "simple" storage, everything has go through your object database.
But the data schema is held in the RDBMS with code
generation that creates a schema to hold data.If you think that this approach makes sense, why not.
But in able to have a efficent mapping and a good
performance we have thought about building only one
table.The problem is we know we are losing some space
but the thing is harddisk is much cheaper than RAM
and CPU.So our trade off concerated on the storage
cost.But I still wonder if there is a point that I
have missed in terms performance?Just test your approach by using sufficiently data - only you know how many records you have to store in your modell.
PS: it is not wise effective using generic object
models also in object databases as CPU cost is a lot
when u are holding the data.I don't know if I'd have taken your approach - using two database systems to hold data and business logic.
PS2: RDBMS is a value based system where object
databases are identity based.we are trying to be in
the gray area of both worlds.Like I wrote: if your approach works and scales to the required size, why not? I would assume that you did a load test with your approach.
What I would question though is that your discussing a "SIMPLE Database Design" problem. I don't see anything simple in your approach when it comes to implementation.
C. -
Database connection problem when i try store the values in JTable
Hi Sir,
I have a database connection problem when i try to store the data's in a JTable.I think the problem is with in the database connection.I have used 3 vectors here.The database which i have used is
Access.Where the program is compiling well.But when i run it only the first column heading is printed and error message showing that
"Invalid Cursor State".I need to solve this problem.pls. do help me.
I will provide u with the code.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
import java.util.*;
import java.sql.*;
public class DataBaseVector extends JPanel
//Container contentPane=getContentPane();
JScrollBar jsb = new JScrollBar(JScrollBar.HORIZONTAL);
JScrollBar jsb1 = new JScrollBar(JScrollBar.VERTICAL);
Image i1;
String url="jdbc:odbc:Ananth";
Vector col=new Vector();
Vector rows=new Vector();
Vector rdata=new Vector();
Connection conn;
public DataBaseVector()
//super("JTable With ScrollBars");
this.setLayout(new BorderLayout());
UIManager.put("ScrollBar.track",Color.red);
UIManager.put("ScrollBar.thumb",Color.blue);
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
conn=DriverManager.getConnection(url); // Is there any problem here?
Statement st=conn.createStatement();
ResultSet rs=st.executeQuery("Select * from AccountMaster");
// rs is the result set obtained
ResultSetMetaData rsmd=rs.getMetaData();
int cols=rsmd.getColumnCount();
for(int i=1;i<=cols;i++)
col.addElement(rsmd.getColumnName(i));
rdata.addElement(rs.getString(i));
rows.addElement(rdata);
}catch(Exception e)
System.out.println("The Error Message was:"+e.getMessage());
JTable jt=new JTable(rows,col);
int v=ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
int h=ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
JScrollPane jsp=new JScrollPane(jt,v,h);
this.add(jsp,BorderLayout.CENTER);
this.add(jsb, BorderLayout.SOUTH);
this.add(jsb1, BorderLayout.EAST);
public static void main(String args[])
JFrame jf=new JFrame();
JPanel frame=new DataBaseVector();
jf.getContentPane().add(frame);
jf.setSize(800,600);
jf.setVisible(true);
Thanx,
m.ananthuThe problem is ResultSet.next() is not called.
Try this and modify the table creation as you need.
ResultSetMetaData rsmd=rs.getMetaData();
int cols=rsmd.getColumnCount();
while(rs.next()) {
for(int i=1;i<=cols;i++)
col.addElement(rsmd.getColumnName(i));
rdata.addElement(rs.getString(i));
rows.addElement(rdata);
Hope this helps -
WLI 7.0 samples database setup problem
I have just installed WL Platform 7.0. I want to run the WLI samples and did the following:
1. Started "Integration Database Wizard" for WLI samples and performed "SwitchDB"
- provided valid database properties for oracle. Completed successfully - config.xml
for samples is updated.
2. Ran RunSamples script - Gives database connect problems and database is not created.
The user/pwd/machine name/SID are all correct.
I observed that as part of "RunSamples", it again invokes "SwitchDB" (command I see
is "switchdb oracle"). This resets the database properties in config.xml to the defaults
- so obviously this is causing the connection problem.
Pls let me know what is going wrong here?
ThanksGarf,
You are correct in your analysis. When you run the 'RunSamples' script,
it will call switchdb and this causes the 'defaults' to be set in
config.xml. Running the wliconfig utility is the customer experience
BEA would like to have with regard to setting up the database. However,
the RunSamples script has not been updated to correctly reflect that the
customer would have already performed this step. When RunSamples calls
switchdb, it is getting the defaults from the following location:
<USER_DEFINED_DOMAIN>/dbInfo/<DATABASE>/setDBVars and setDBVarsExt files
So for example, if you accepted the default user directory and your
BEA_HOME is C:/bea and you were using the EAI Domain template calling
your domain eaidomain and your are using Oracle, you should update the
following files:
C:\bea\user_projects\eaidomain\dbInfo\oracle\setDBVars.cmd and
setDBVarsExt.cmd
Edit these files to reflect your DB connection properties.
When RunSamples calls switchdb, these properties will be used to update
the wliPool in config.xml. I hope this helps and sorry for the
inconvenience.
Cheers,
Chris
Garf wrote:
I have just installed WL Platform 7.0. I want to run the WLI samples and did the following:
1. Started "Integration Database Wizard" for WLI samples and performed "SwitchDB"
- provided valid database properties for oracle. Completed successfully - config.xml
for samples is updated.
2. Ran RunSamples script - Gives database connect problems and database is not created.
The user/pwd/machine name/SID are all correct.
I observed that as part of "RunSamples", it again invokes "SwitchDB" (command I see
is "switchdb oracle"). This resets the database properties in config.xml to the defaults
- so obviously this is causing the connection problem.
Pls let me know what is going wrong here?
Thanks -
Oracle Database Starting Problem
Hi all,
i am having database startup problems.
my database is working fine but when i try to connect as sysdba then i get the following error
Connected to an idle instance.
SQL> select status from v$instance;
select status from v$instance
ERROR at line 1:
ORA-01034: ORACLE not available
i have also checked the listener and it is also working fine.
Instance "orcl", status READY, has 3 handler(s) for this service...
The process is also shown by the pmon command, check through operating system command
ps -aef |grep pmon
oracle 3235 2816 0 18:08:15 pts/3 0:00 grep pmon
oracle 22425 1 0 12:01:57 ? 0:08 ora_pmon_orcl
Please let me know what to do.
regards,
Imran RazaHi Laura,
Please find below
bash-3.00$ echo $ORACLE_SID
orcl
bash-3.00$ ./lsnrctl status
LSNRCTL for Solaris: Version 10.1.0.5.0 - Production on 17-FEB-2009 18:58:55
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=silverApp0)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Solaris: Version 10.1.0.5.0 - Production
Start Date 17-FEB-2009 11:51:42
Uptime 0 days 7 hr. 7 min. 13 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/dba/OraHome1/network/admin/listener.ora
Listener Log File /oracle/dba/OraHome1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=silverApp0)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl.silverapp0.com" has 1 instance(s).
Instance "orcl", status READY, has 3 handler(s) for this service...
The command completed successfully -
Database creation problem on Windows XP
Hello Readers
I have installed ORACLE Database Engine on windows XP.
I am facing problem in database creation.
I have tryed wizard as well as mannual method.
in wizard at 90% it gives an error "END-OF-FILE ON COMMUNICATION CHANNEL"
although CD drive is in CR Rom drive.
Please help me ....
Rashid Masood Ashraf
email: [email protected]After going to the properties as you suggested:
Right now the Obtain an IP address automatically is checked
I need to check the Use the following IP address:
What should I enter for
IP address:
Subnet mask:
Default gateway:
Please help.
Edited by: Nel Marcus on Dec 2, 2008 3:49 PM -
Database Connection Problem in Oracle9i Lite Web-to-Go
Hi
I am having problem in the Database Connectivity. I am using the OracleDriver class for the connection and have defined the DataSource in the struts-config.xml as
<data-sources>
<data-source>
<set-property property="driverClass"
value="oracle.jdbc.driver.OracleDriver" />
<set-property property="url"
value="jdbc:oracle:thin:@192.50.200.201:1521:WEBTOGO.WORLD" />
<set-property property="maxCount"
value="5"/>
<set-property property="minCount"
value="1"/>
<set-property property="user"
value="master"/>
<set-property property="password"
value="ramchow"/>
</data-source>
</data-sources>
But when I am trying to do any database transaction it is throwing the following exception..
log9: [ERROR] ActionServlet - -Initializing application data source org.apache.s
truts.action.DATA_SOURCE <java.sql.SQLException: Io exception: Connection refuse
d(DESCRIPTION=(TMP=)(VSNNUM=153093120)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505
)(EMFI=4))))>java.sql.SQLException: Io exception: Connection refused(DESCRIPTION
=(TMP=)(VSNNUM=153093120)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:335)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:361)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va:442)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:321)
at org.apache.struts.legacy.GenericDataSource.createConnection(GenericDa
taSource.java:805)
at org.apache.struts.legacy.GenericDataSource.open(GenericDataSource.jav
a:741)
at org.apache.struts.action.ActionServlet.initModuleDataSources(ActionSe
rvlet.java:1085)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:472)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at oracle.lite.web.JupServlet.createInstance(JupServlet.java:349)
at oracle.lite.web.JupServlet.getServlet(JupServlet.java:322)
at oracle.lite.web.JupServlet.service(JupServlet.java:216)
at oracle.lite.web.AppServletHandler.handle(AppServletHandler.java:297)
at oracle.lite.web.JupApplication.service(JupApplication.java:550)
at oracle.lite.web.JupHandler.handle(JupHandler.java:109)
at oracle.lite.web.HTTPServer.process(HTTPServer.java:306)
at oracle.lite.web.HTTPServer.handleRequest(HTTPServer.java:162)
at oracle.lite.web.JupServer.handle(JupServer.java:310)
at oracle.lite.web.SocketListener.process(SocketListener.java:172)
at oracle.lite.web.SocketListener$ReqHandler.run(SocketListener.java:226
log9: javax.servlet.UnavailableException: Initializing application data source o
rg.apache.struts.action.DATA_SOURCE
log9: at org.apache.struts.action.ActionServlet.initModuleDataSources(ActionSe
rvlet.java:1091)
log9: at org.apache.struts.action.ActionServlet.init(ActionServlet.java:472)
log9: at javax.servlet.GenericServlet.init(GenericServlet.java:258)
log9: at oracle.lite.web.JupServlet.createInstance(JupServlet.java:349)
log9: at oracle.lite.web.JupServlet.getServlet(JupServlet.java:322)
log9: at oracle.lite.web.JupServlet.service(JupServlet.java:216)
log9: at oracle.lite.web.AppServletHandler.handle(AppServletHandler.java:297)
log9: at oracle.lite.web.JupApplication.service(JupApplication.java:550)
log9: at oracle.lite.web.JupHandler.handle(JupHandler.java:109)
log9: at oracle.lite.web.HTTPServer.process(HTTPServer.java:306)
log9: at oracle.lite.web.HTTPServer.handleRequest(HTTPServer.java:162)
log9: at oracle.lite.web.JupServer.handle(JupServer.java:310)
log9: at oracle.lite.web.SocketListener.process(SocketListener.java:172)
log9: at oracle.lite.web.SocketListener$ReqHandler.run(SocketListener.java:226.
Can anybody guide me what can be the problem asap.
regards
ramchowRamesh,
This looks like it might be a Java class mismatch error. Do you have multiple versions of Java installed on your machine? If so, you may want to keep one version and remove the rest.
If you're already running just one version, you may want to check the registry and classpath for references to multiple Java versions, or version that no longer exist.
Please let me know if you have additional questions.
Junius -
JDeveloper 10.1.3.2.0 and database 11g, problem in JDBC ?
We developed our j2ee application (using hibernate) for some time. Now we came to newer Oracle database 11g and have problem - endless waiting for fetched data. I think, that problem is in JDBC version.
Adding new JDBC into project as new library and placing it 'before' the old one doesn't help. Btw. hibernate gets connection from applicationContext_dataSource.xml file and is defined for example like this
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="oracle.jdbc.driver.OracleDriver"/>
<property name="url" value="jdbc:oracle:thin:@host:port:SID"/>
<property name="username" value="name"/>
<property name="password" value="password"/>
</bean>
It has nothing to do with defined conections.
My question is this:
- Can I upgrade JDBC in our 10.1.3.2.0 JDeveloper to new version or latest version of JDeveloper is needed ?
Thanks.
Message was edited by:
jnejedlyThe OC4J server embedded in JDeveloper 11g does not support JDBC 4.0.
Java applications using the JDBC 4.0 driver may be developed in JDeveloper 11g. -
Image reclaim from database ,facing problem
I am very much new in Flex development.........
I am facing a problem from quite a few days to reclaim a image from the database with the help of servlet to a flex application . I am using HttpRequest Object not Blaze Ds.
Actually image byte stream is comming back from Servlet to Flex End , but when I want to display it , then it shows the place of the image as black .I think image pixel's are not combining togather ..........Have you any Idea?
I am trying in the following way.......... this is in the result handler method................
private function getPhotoResultHandler(event:ResultEvent):void{
try{
xmldata1=event.result as XML;
mx.control.alert.show(xmldata1.toString); // Here I can see the byte stream in the browser
var byteData : ByteArray;
var dec : Base64Decoder = new Base64Decoder();
dec.decode(xmldata1.toString());
byteData = dec.toByteArray();
imggetPhoto.source=byteData;
catch( ex : Error )
Alert.show( ex.message );Hi,
I use Forms 6i to save and retrieve image in BLOB column without problems.
Some weeks ago, my column was long raw and I update it without problems. Nothing to do in Forms and juste modifiy query and recompile in Reports. -
Hi,
I was wondering if anyone has any idea on why JCONTROL.exe does not start. I am currently installing NW04s EP7. The DB is on another host and te SCS and CI are on a different host. I am going throught the installation when I get the following error fro the Bootstrap file.
I have already done the following steps:
1. entered the SAP<SID>DB password
2. SQL is started and running on the second host.
3. The bootstrap.propeties files look the same as any other file EP system on our network
[Mar 7, 2007 5:32:35 PM ] [Bootstrap module]> Problem occurred while performing synchronization.
[Mar 7, 2007 5:35:45 PM ] -
[Mar 7, 2007 5:35:45 PM ] Bootstrap MODE:
[Mar 7, 2007 5:35:45 PM ] <INSTANCE GLOBALS>
[Mar 7, 2007 5:35:45 PM ] determined by parameter [ID0117060].
[Mar 7, 2007 5:35:45 PM ] -
[Mar 7, 2007 5:35:46 PM ] Exception occurred:
com.sap.engine.bootstrap.SynchronizationException: Database initialization failed! Check database properties!
at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:422)
at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:144)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:814)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
==[ Caused by: ]==----
com.sap.engine.frame.core.configuration.ConfigurationException: Error occurred: Secure Store lib Dir does not exist
PC04315\sapmnt\ET1\SYS\global\security\lib\tools
at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:212)
at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)
at com.sap.engine.bootstrap.Synchronizer.<init>(Synchronizer.java:60)
at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:419)
at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:144)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:814)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
[Mar 7, 2007 5:35:46 PM ] [Bootstrap module]> Problem occurred while performing synchronization.
Many thanks,
Adil Zafar==[ Caused by: ]==----
com.sap.engine.frame.core.configuration.ConfigurationException: Error occurred: Secure Store lib Dir does not exist
PC04315\sapmnt\ET1\SYS\global\security\lib\tools
Do you have strong encryption on your current system? -
RMAN duplicate target database from active database - performance problem
Hello. I’m running into a major performance problem when trying to duplicate a database from a target located inside our firewall to an auxiliary located outside our firewall. Both target and auxiliary are located in the same equipment room just on different subnets. Previously I had the auxiliary located on the same subnet as the target behind the firewall and duplicating a 4.5T database took 12 hours. Now with the auxiliary moved outside the firewall attempting to duplicate the same 4.5T database is estimated to exceed 35 hours. The target is a RAC instance using ASM and so is the auxiliary. Ping, tnsping, traceroutes to and from target and auxiliary all indicate no problem or latency. Any ideas on things to consider while hunting for this elusive performance decrease?
Thanks in advance.It would obviously appear network related. Have you captured any network/firewall metrics? Are all components set to full duplex? Would it be possible to take the firewall down temporarily and then test the throughput? Do you encounter any latency if you were to copy a large file across the subnets?
You may want to check V$RMAN_BACKUP_JOB_DETAILS, V$BACKUP_SYNC_IO or V$BACKUP_ASYNC_IO when the backup is running. -
Field Guide 8 - Configuring the Database but problems with user id
Iam just running into problem after problem with Chapter 8 dataproviders when I'am about 2/3 of the way through.
I'am now trying to configure the "Login Data Structure" Page 363. After adding the derbyclient.jar file. Then opening DerbyLogin.java and thereafter clicking "Run" as instructed in the book I get this error.
Error on url jdbc:derby://localhost:21527/sample
ERROR: SQLException: Connection authorization failure occurred. Reason: userid invalid.
org.apache.derby.client.am.SqlException: Connection authorization failure occurred. Reason: userid invalid.
at org.apache.derby.client.net.NetConnection.mapSecchkcd(Unknown Source)
at org.apache.derby.client.net.NetConnection.securityCheckComplete(Unknown Source)
at org.apache.derby.client.net.NetConnectionReply.parseSECCHKRM(Unknown Source)
at org.apache.derby.client.net.NetConnectionReply.parseSECCHKreply(Unknown Source)
at org.apache.derby.client.net.NetConnectionReply.readSecurityCheck(Unknown Source)
at org.apache.derby.client.net.NetConnection.readSecurityCheckAndAccessRdb(Unknown Source)
at org.apache.derby.client.net.NetConnection.flowSecurityCheckAndAccessRdb(Unknown Source)
at org.apache.derby.client.net.NetConnection.flowUSRIDONLconnect(Unknown Source)
at org.apache.derby.client.net.NetConnection.flowConnect(Unknown Source)
at org.apache.derby.client.net.NetConnection.<init>(Unknown Source)
at org.apache.derby.jdbc.ClientDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:193)
at asg.databuild.DerbyLoginDB.createLoginDatabase(DerbyLoginDB.java:52)
at asg.databuild.DerbyLoginDB.<init>(DerbyLoginDB.java:38)
at asg.databuild.DerbyLoginDB.main(DerbyLoginDB.java:25)
BUILD SUCCESSFUL (total time: 5 seconds)
It's telling me that user ID is invalid. I have no idea what my db user id is or how I can check it with the bundled database as there is no documentation I have found about that. Nor do I even know what I have to do to properly configure this app to properly work with the bundled database as the field guide says absolutely nothing about this!Message was edited by:
tutorialsFound a solution to this problem for anyone else having the same problem please go to thread: http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=99634
Maybe you are looking for
-
How do I get the thumbnails back on a new tab page?
I get a AVG Secure Search page instead of the thumbnail page now when I load a new tab. How do I get the thumbnails back? I don't have an gear icon on the page to switch it back. This happen after I did a reset of Firefox so that MapQuest would work
-
Finding Update from Mac OS 9.2.1 to 9.2.2
It appears that Apple no longer has this update from 9.2.1 to 9.2.2 in their download section. Can anyone out there refer me to where I can get the update to 9.2.1. I'm also upgrading the Mac OS X system side to Mac OS Tiger X 4.11 and I don't know
-
Internet does not work after kernel upgrade (quite strange)
Hi guys My internet (only at home) does not work anymore with kernel 2.6.27. at university it works just fine. isn't that funny it has something to do with packet sizes interestingly enough... because i can ping "the internet" (i.e. kernel.org) just
-
Can we export video on Adobe Connect 9 yet?
In Connect 7 (the last one I used), we had to export as a FLV and follow a series of steps just to convert it to a method that we can use to upload to YouTube, Vimeo, and basically make it viewable to everyone else in the world. Now with Connect 9, I
-
Superdrive refuses to burn anything
Hey my emacs superdrive wont burn at all, it still reads all disks fine. At first i could just use a lower speed but now that wont work, is there any easy fix or is it buggered an i gotta get a new one?