Problems with file location variables and Oracle 9i
I'm new to Oracle and I'm seeing if I can get Oracle 9i running and do anything useful for me on a Solaris 9 platform.
The installation of Oracle went OK except step three, creating a starter database. The installation wanted to put it on the same file system as {ORACLE_HOME} although I told the installation that I wanted {ORACLE_BASE} on another file system. So of course there wasn't enough room on the file system to make the starter database.
I thought I'd be able to correct this after installation. I tried to make a General Purpose Database with Database Configuration Assistant but DBCA in step 5 of 7, File Location Variables still shows {ORACLE_BASE} to be the same as {ORACLE_HOME}, and no way to change that variable on this screen. Don't I want to change { ORACLE_BASE} to a file system that has enough space to make the data base? How do I change this variable? When logged in as the oracle user, I don't see it listed by setenv.
When I ignored this setting and tried to finish DBCA, it hung.
I looked for the {ORACLE*} environmental variables in the profile and login files of my oracle user, but didn't find that they were added by my Oracle setup. So I didn't think defining them as environmental variables would persist or overrule the global variables set at dbca run time.
In the dbca windows, step 5 displays these global variable settings provocatively in a table, as if Oracle wants me to verify and edit them if necessary, but I keep poking at them with right mouse clicks, left mouse clicks, backspace, and delete, but all I can do is turn them blue.
Currently when I use dbca to try to create a general purpose database, it hangs at 50% done, but not much space is used up on {ORACLE_HOME}. So it doesn't really look like the hang is caused by the disk being full. One of the processes that is hung is jre, so I thought I'd review the Oracle requirements and locations for JRE on my system.
Similar Messages
-
ConnectionPool problems with WLS 7.0 and Oracle 9.2
Hi,
We are using WLS 7.0 SP4, and Oracle 9 and the Oracle thin driver type 4. In our
application on the productive system (and only there) we constantly encounter
a whole set of SQLExceptions which have all in common that the Connection from
the pool is not valid any more when the application tries to use it.
Typical, recurring error messages are:
- Exhausted ResultSet
- Connection has already been closed
- Closed Statement
- Transaction is no longer active - status committing
- NullPointerException at
weblogic.jdbc.pool.Connection.prepareStatement()
There are no special Statements which create these errors. They are spread at
random across practically every query the application creates, and the same queries
sometimes succeed and sometimes fail.
I double and triple checked that all Connections, Statements and ResultSets are
closed immediately after use. As an example, I attached a code snippet and a resulting
StackTrace which.
The problem also seems to occur only with an (unknown) minimum of concurrent usern,
since in the approval tests on an almost identical test system these errors never
occurred.
I also followed the advice from Oracle and installed the latest Oracle JDBC driver
(Oracle 10g) - to no avail.
What else can I do?
Another question: Is it correct that my Oracle JDBC driver is in the application
classpath (via a reference in the Manifest file of the application jar), not in
the system classpath? There has never been a problem with that, but in a Newsgroup
answer from Nov 10, 2003 (subject: "ResultSet closes prematurely"), Joe Weinstein
suggested to "get it listed at the
front of the -classpath argument that the startWebLogic script creates for the
java line that starts the server".
I hesitate to do so, since the driver is in a standard WebApp- directory, WEB-INF/lib.
Is it possible and safe to add a jar located there to the system classpath? If
it is possible, why is it necessary?
Best regards,
Andreas Zehrt
[CodeSnippetsAndStackTraceForConnectionPoolProblem.txt]Andreas Zehrt wrote:
Hi Joe,
Your hint that there is a threading problem was right:
On further investigation of the code I found out that the class that passes the
Connection to the DAO not only stores it as a member at some point (which is not
a good idea anyway) but is also a singleton - then, of course, it's no surprise
that the Connection gets invalid in a incalculable way when concurrent threads
share it.
The singleton instantiation was not so obvious because the way of instantiation
is controlled by a configuration parameter that can be overridden at different
levels.
I changed it and the productive logfiles indicate that the SQLExceptions related
to that class have disappeared.I am happy to have helped.
So, thanks a lot for the advice.
But I am still wondering why this code has worked for so long a time with WLS
5.1 and Oracle 8 (the system has been productive for over 2 years). Even in the
approval tests with WLS 7.0 and Oracle 9, we did not run into problems, although
it was multi-user environment.Mo idea.
I still believe that there is a difference between WLS 5.1 and 7.0 in the way
it treats pooled Oracle JDBC Connections. I wished both Oracle and Bea could be
a little more explicit about those changes and possible version incompatabilities
beyond the general advice "use the latest thin driver".Though I can think of no change to our pooling which would have had any material
effect in this case, I will certainly do what I can to see that our documentation
is explicit about changes.
Joe
Best regards, Andreas
Joe Weinstein <[email protected]> wrote:
Hi Andreas.
Andreas Zehrt wrote:
Hi,
We are using WLS 7.0 SP4, and Oracle 9 and the Oracle thin driver type4. In our
application on the productive system (and only there) we constantlyencounter
a whole set of SQLExceptions which have all in common that the Connectionfrom
the pool is not valid any more when the application tries to use it.
Typical, recurring error messages are:
- Exhausted ResultSetThat is typically if the statement that created it is either re-executed
or closed.
- Connection has already been closedAs described. If you give a stacktrace, we could make a debug patch which
would show
where it was originally closed.
- Closed Statementsame as above.
- Transaction is no longer active - status committingThat implies your code is obtaining a connection from a transactional
datasource,
and then later trying to use it after the transaction which it was associated
with,
is finished.
- NullPointerException at
weblogic.jdbc.pool.Connection.prepareStatement()Maybe any of the above.
There are no special Statements which create these errors. They arespread at
random across practically every query the application creates, andthe same queries
sometimes succeed and sometimes fail.
I double and triple checked that all Connections, Statements and ResultSetsare
closed immediately after use. As an example, I attached a code snippetand a resulting
StackTrace which.
The problem also seems to occur only with an (unknown) minimum of concurrentusern,
since in the approval tests on an almost identical test system theseerrors never
occurred.
I also followed the advice from Oracle and installed the latest OracleJDBC driver
(Oracle 10g) - to no avail.
What else can I do?
Another question: Is it correct that my Oracle JDBC driver is in theapplication
classpath (via a reference in the Manifest file of the applicationjar), not in
the system classpath? There has never been a problem with that, butin a Newsgroup
answer from Nov 10, 2003 (subject: "ResultSet closes prematurely"),Joe Weinstein
suggested to "get it listed at the
front of the -classpath argument that the startWebLogic script createsfor the
java line that starts the server".
I hesitate to do so, since the driver is in a standard WebApp- directory,WEB-INF/lib.
Is it possible and safe to add a jar located there to the system classpath?If
it is possible, why is it necessary?I was only concerned to ensure we know which driver we are working with.
We also ship
an oracle thin driver, which becomes obsolete soon...
I am concerned that your code creates pool connections to be used later.
The problems
can arise if more than one thread ever gets the same connection, or if
the connection
is used in the same thread, spanning transactions. It does also seem
that there may
be a threading issue, because if two threads each call the code to create
a connection,
and two connections are made, but one over-writes the other, the two
threads can
end up using the same connection, and closing it. The over-written one
never gets closed,
resulting in that leak message you got...
Joe
The Connection parameter is opened by a business component class, ComaServiceProviderClassicImpl.It is propagated through
several classes in the business layer, but not used, until the DAOtakes it to make the query.
So, the Connection is closed where it was opened, not in the DAO class.
public class ConcernDAOImpl extends BaseDAO {
public Collection getConcernsForIncidents(Connection conn, Collectionincidents)
throws DataAccessException, ConstraintException, ComaParseException{>
sqlMessage.append(")");
String sqlStmt = sqlMessage.toString();
PreparedStatement pstmt = null;
ResultSet rs = null;
try {
pstmt = conn.prepareStatement(sqlStmt);
rs = pstmt.executeQuery();
while (rs != null && rs.next()) {
final Concern concern =
new Concern(DAOUtil.getComaOID(rs, ComaDBNames.KDANR));
concern.setIncidentOID(DAOUtil.getComaOID(rs, ComaDBNames.KDAVGENR));
return concerns;
} catch (SQLException sqle) {
// Wrapps real SQL exception
String[] message = new String[]{sqle.getMessage(), sqlStmt};
throw new DataAccessException(ExpCode.S_ORACLE_SQL, message,
sqle);
} finally {
closeAll(rs, pstmt);
_logger.exitDebug(method);
Here, the Connection is acquired and finally closed
public class ComaServiceProviderClassicImpl {
public void updateComplaint(
final Request updateRequest,
final ResponseSingleElement response,
final Principal principal)
throws SystemException {
try {
logger.info("updateComplaint", "store incident");
// store the incident in the database
incidentManager.storeIncident(getConnection(), updateIncident);
// reload the incident from Cache and / or the databaseto get the ContactReferences.
Incident returnIncident = incidentManager.loadIncident(//IncidentManager passes the Connection to the DAO
getConnection(), updateIncident.getOID());
} catch (RemoteException rex) {
// remote exceptions
rollbackIfNecessary();
CoreUtils.unwrapRemoteException(rex, logger);
} catch (SystemException e) {
// all other exceptions --> rollback if necessary and rethrow
rollbackIfNecessary();
throw e;
} finally {
removeConnection();
logger.exitDebug("updateComplaint");
This is the resulting StackTrace:
sql exception: [Closed Statement: next] - sql statement: [select *
at de.deutschepost.ubbrief.coma.persistence.dao.ConcernDAOImpl.getConcernsForIncidents(ConcernDAOImpl.java:363)
at de.deutschepost.ubbrief.coma.persistence.dao.CachingConcernDAOImpl.getConcernsForIncidents(CachingConcernDAOImpl.java:129)
at de.deutschepost.ubbrief.coma.persistence.incidentmanager.IncidentManagerImpl.loadConcernStructuresIntoIncidents(IncidentManagerImpl.java:1067)
at de.deutschepost.ubbrief.coma.persistence.incidentmanager.IncidentManagerImpl.loadStructureForIncident(IncidentManagerImpl.java:320)
at de.deutschepost.ubbrief.coma.persistence.incidentmanager.IncidentManagerImpl.loadIncidents(IncidentManagerImpl.java:264)
at de.deutschepost.ubbrief.coma.persistence.taskmanager.TaskManagerImpl.selectTasksForUser(TaskManagerImpl.java:299)
at de.deutschepost.ubbrief.coma.service.z2.ComaServiceProviderZ2Impl.getTaskList(ComaServiceProviderZ2Impl.java:113)
at de.deutschepost.ubbrief.coma.service.z2.ComaServiceProviderZ2Bean_1dhrj7_EOImpl.getTaskList(ComaServiceProviderZ2Bean_1dhrj7_EOImpl.java:154)
at de.deutschepost.ubbrief.coma.sbba.z2.CMPGetTaskList.runServiceMethod(CMPGetTaskList.java:64)
at de.deutschepost.ubbrief.coma.sbbx.sp.BasicMethodProvider.execute(BasicMethodProvider.java:145)
at de.deutschepost.ubbrief.coma.sbba.z2.CMPGetTaskList_9b9mv5_EOImpl.execute(CMPGetTaskList_9b9mv5_EOImpl.java:46)
at de.deutschepost.ubbrief.coma.sbba.z2.CMPGetTaskList_9b9mv5_EOImpl_WLSkel.invoke(UnknownSource)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:159)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:263)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:230)
at de.deutschepost.ubbrief.coma.sbba.z2.CMPGetTaskList_9b9mv5_EOImpl_WLStub.execute(UnknownSource)
at de.deutschepost.ubbrief.backbone.jazz.impl.core.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:115)
at de.deutschepost.ubbrief.backbone.common.impl.core.rpc.server.ServerKernelImpl.handleTransportMessage(ServerKernelImpl.java:270)
at de.deutschepost.ubbrief.backbone.common.impl.core.messaging.MessageTransport.handleMessage(MessageTransport.java:454)
at de.deutschepost.ubbrief.backbone.common.impl.core.KernelFacade.handleMessage(KernelFacade.java:209)
at de.deutschepost.ubbrief.backbone.jazz.impl.backbone.BackboneBean.messageArrived(BackboneBean.java:637)
at de.deutschepost.ubbrief.backbone.jazz.impl.backbone.BackboneBean_ina9d7_ELOImpl.messageArrived(BackboneBean_ina9d7_ELOImpl.java:105)
at de.deutschepost.ubbrief.backbone.jazz.impl.transport.receive.LocalQueueReceiveBean.deliverMessage(LocalQueueReceiveBean.java:43)
at de.deutschepost.ubbrief.backbone.jazz.impl.transport.receive.AbstractMessageReceiveBean.onMessage(AbstractMessageReceiveBean.java:127)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:377)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:311)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:286)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2351)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2267)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
####<May 26, 2004 12:18:43 PM CEST> <Warning> <JDBC> <S0048016> <REMA20Z><Finalizer> <kernel identity> <> <001074> <A JDBC pool connection leak
was detected. A Connection leak occurs when a connection obtained from
the pool was not closed explicitly by calling close() and then was disposed
by the garbage collector and returned to the connection pool. The following
stack trace at create shows where the leaked connection was created.
Stack trace at connection create:
at weblogic.jdbc.pool.Connection.<init>(Connection.java:66)
at weblogic.jdbc.pool.Driver.allocateConnection(Driver.java:294)
at weblogic.jdbc.pool.Driver.connect(Driver.java:210)
at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:373)
at weblogic.jdbc.jts.Driver.connect(Driver.java:129)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:287)
at de.deutschepost.ubbrief.coma.core.ComaComponentImpl.getConnectionFromPool(ComaComponentImpl.java:163)
at de.deutschepost.ubbrief.coma.core.ComaComponentImpl.getConnectionInternal(ComaComponentImpl.java:135)
at de.deutschepost.ubbrief.coma.core.ComaComponentImpl.getConnection(ComaComponentImpl.java:99)
at de.deutschepost.ubbrief.coma.persistence.customermanager.CurryCustomerManagerImpl.findCustomers(CurryCustomerManagerImpl.java:73)
at de.deutschepost.ubbrief.coma.service.z2.ComaServiceProviderZ2BaseImpl.resolveCustomerInstances(ComaServiceProviderZ2BaseImpl.java:808)
at de.deutschepost.ubbrief.coma.service.z2.ComaServiceProviderZ2Impl.getTaskList(ComaServiceProviderZ2Impl.java:213)
at de.deutschepost.ubbrief.coma.service.z2.ComaServiceProviderZ2Bean_1dhrj7_EOImpl.getTaskList(ComaServiceProviderZ2Bean_1dhrj7_EOImpl.java:154)
at de.deutschepost.ubbrief.coma.sbba.z2.CMPGetTaskList.runServiceMethod(CMPGetTaskList.java:64)
at de.deutschepost.ubbrief.coma.sbbx.sp.BasicMethodProvider.execute(BasicMethodProvider.java:145)
at de.deutschepost.ubbrief.coma.sbba.z2.CMPGetTaskList_9b9mv5_EOImpl.execute(CMPGetTaskList_9b9mv5_EOImpl.java:46)
at de.deutschepost.ubbrief.coma.sbba.z2.CMPGetTaskList_9b9mv5_EOImpl_WLSkel.invoke(UnknownSource)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:159)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:263)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:230)
at de.deutschepost.ubbrief.coma.sbba.z2.CMPGetTaskList_9b9mv5_EOImpl_WLStub.execute(UnknownSource)
at de.deutschepost.ubbrief.backbone.jazz.impl.core.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:115)
at de.deutschepost.ubbrief.backbone.common.impl.core.rpc.server.ServerKernelImpl.handleTransportMessage(ServerKernelImpl.java:270)
at de.deutschepost.ubbrief.backbone.common.impl.core.messaging.MessageTransport.handleMessage(MessageTransport.java:454)
at de.deutschepost.ubbrief.backbone.common.impl.core.KernelFacade.handleMessage(KernelFacade.java:209)
at de.deutschepost.ubbrief.backbone.jazz.impl.backbone.BackboneBean.messageArrived(BackboneBean.java:637)
at de.deutschepost.ubbrief.backbone.jazz.impl.backbone.BackboneBean_ina9d7_ELOImpl.messageArrived(BackboneBean_ina9d7_ELOImpl.java:105)
at de.deutschepost.ubbrief.backbone.jazz.impl.transport.receive.LocalQueueReceiveBean.deliverMessage(LocalQueueReceiveBean.java:43)
at de.deutschepost.ubbrief.backbone.jazz.impl.transport.receive.AbstractMessageReceiveBean.onMessage(AbstractMessageReceiveBean.java:127)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:377)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:311)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:286)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2351)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2267)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210) -
Problem with java.sql.Clob and oracle.sql.CLOB
Hi,
I am using oracle9i and SAP web application server. I am getClob method and storing that in java.sql.Clob and using the getClass().getName() I am getting the class name as oracle.sql.CLOB. But when I am trying to cast this to oracle.sql.CLOB i am getting ClassCastException. The code is given below
java.sql.Clob lOracleClob = lResultSet.getClob(lColIndex + 1);
lPrintWriter = new PrintWriter(new BufferedWriter (((oracle.sql.CLOB) lOracleClob).getCharacterOutputStream()));
lResourceStatus = true;
can anybody please tell me the what is the problem with this and solution.
thanks,
Ashok.Hi Ashok
You can get a "ClassCastException" when the JVM doesn't have access to the specific class (in your case, "oracle.sql.CLOB").
Just check your classpath and see if you are referring to the correct jar files.
cheers
Sameer
PS: Please award points if you find the answer useful -
Problem with File content conversion and parameters
Hi experts,
What is the use of file content conversion that is available in file adapter? For what cases we can use it?
What do the different content conversion parameters mean?
Kindly help
Thanks
GopalHi,
We use the file content convertion to conver the flat file that is text file into XML,
File adapter cant understand the format the file is,so we have to declare the content convertion parameters.
Check some links which will tell how the convertion is done.
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Regards,
Phani
Reward points if helpful -
Hi,
I've done a file location, but I've problems when I register the location with the next root path (This directory is on my local host):
c:\test\
All works fine, but when I execute the mapping that contais the file (prueba.dat), I obtain the next error:
SQL*Loader-500: Unable to open file (c:testprueba.dat)
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
I have problems with the character "\", because it doesn't appear in the file name (view SQL*Loader-500).
I'm using Windows XP as local host, Oracle Wareuse Builder installed on a Linux Machine, version 9.2.0.4.0
Any idea of what could happen?
Thanks in advance,
Carlos.I am using the client OWB11 through CITRIX (an emulator Xterm - similar to anyone else). In the configuration of my locations, I am not using local directories of my Win, I use only unix directories, such as (/ swpkg/oracle/11g/owb/bin/unix). Now DBAdministrator asked him to verify the existence of these directories.
We attach the Log generated by OWB.
MAP_T_ITZ_ACCOUNT_SUPPORT
Description : Runtime User : OWBHYP Started : 2008-08-22 12:15:25.0
Name
Status
Log
MAP_T_ITZ_ACCOUNT_SUPPORT
Error
RPE-01013: SQL Loader reported error condition, number 1.
SQL*Loader: Release 11.1.0.6.0 - Production on Fri Aug 22 12:15:26 2008
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Control File: /swpkg/oracle/11g/owb/bin/unix/MAP_T_ITZ_ACCOUNT_SUPPORT.ctl
Character Set WE8MSWIN1252 specified for all input.
Data File: /swdata/db/ora_rman/inbound/SWPLAN_ACCOUNT.CSV
Bad File: /swdata/db/ora_rman/inbound/bad/SWPLAN_ACCOUNT.BAD
Discard File: /swdata/db/ora_rman/inbound/dis/SWPLAN_ACCOUNT.DIS
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 200 rows, maximum of 50000 bytes
Continuation: Concatenate every 1 physical records
Path used: Conventional
Table "SWAHY_INTER"."SWA_HY_T_ITZ_ACCOUNT_SUPPORT", loaded from every logical record.
Insert option in effect for this table: TRUNCATE
Column Name Position Len Term Encl Datatype
"PARENT" 1 * ; O(X) CHARACTER
"CHILD" NEXT * ; O(X) CHARACTER
"ALIAS" NEXT * ; O(X) CHARACTER
"DATASTORAGE" NEXT * ; O(X) CHARACTER
"TWOPASSCALC" NEXT * ; O(X) CHARACTER
"UDA" NEXT * ; O(X) CHARACTER
"SMARTLIST" NEXT * ; O(X) CHARACTER
"DATATYPE" NEXT * ; O(X) CHARACTER
"ACCOUNTTYPE" NEXT * ; O(X) CHARACTER
"TIMEBALANCE" NEXT * ; O(X) CHARACTER
"EXCHANGERATETYPE" NEXT * ; O(X) CHARACTER
"VARIANCEREPORTING" NEXT * ; O(X) CHARACTER
"SOURCEPLANTYPE" NEXT * ; O(X) CHARACTER
"MEMBERVALIDFORPLAN1" NEXT * ; O(X) CHARACTER
"PLAN1AGGREGATION" NEXT * ; O(X) CHARACTER
"MEMBERVALIDFORPLAN2" NEXT * ; O(X) CHARACTER
"PLAN2AGGREGATION" NEXT * ; O(X) CHARACTER
"MEMBERVALIDFORPLAN3" NEXT * ; O(X) CHARACTER
"PLAN3AGGREGATION" NEXT * ; O(X) CHARACTER
value used for ROWS parameter changed from 200 to 10
SQL*Loader-500: Unable to open file ( /swdata/db/ora_rman/inbound/SWPLAN_ACCOUNT.CSV)
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
Table "SWAHY_INTER"."SWA_HY_T_ITZ_ACCOUNT_SUPPORT":
0 Rows successfully loaded.
0 Rows not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Space allocated for bind array: 49020 bytes(10 rows)
Read buffer bytes: 65536
Total logical records skipped: 0
Total logical records read: 0
Total logical records rejected: 0
Total logical records discarded: 0
Run began on Fri Aug 22 12:15:26 2008
Run ended on Fri Aug 22 12:15:26 2008
Elapsed time was: 00:00:00.08
CPU time was: 00:00:00.01
SQL*Loader: Release 11.1.0.6.0 - Production on Fri Aug 22 12:15:26 2008
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL*Loader-500: Unable to open file ( /swdata/db/ora_rman/inbound/SWPLAN_ACCOUNT.CSV)
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
Message was edited by:
ignacio.vega -
Problem with file sender adapter and endSeparator
Hy,
have the following situation: with a sender File adpater i have to receive the same structure of data but in two mode.
1) First mode : each recorset is defined as a file line
Example (not fields separator):
fielda,fieldb,fieldc
field2a,field2b,field2c
2) Second mode : recorset of the same line without end
separator and fieldseparator
Example (not fields separator):
fielda,fieldb,fieldc,field2a,field2b,field2c,......
I configured the adapter as follow.
structure.fieldFixedLengths 1,2,3
structure.fieldNames field1,field2,field3
structure.lastFieldsOptional YES
structure.processFieldNames fromConfiguration
structure.endSeparator 'nl'
PROBLEM
Mode 1) works but mode 2) doesn't work.
Could anyone solve my problem??
Thank's
MatiHi,
Try using two differnt record structure name for each mode.for eg give it as structure1 and structure2.then u give the content conversion parameter for both the recordset depending on ur requirement i.e, with and without end seperator.
regards
jithesh -
Problems with File Names, Placing, and Tracing Options in Actions
I am trying to make an action that would place .psd files that are in a folder into Illustrator, trace using a custom option, (possibly expand),scale, and save. I would like the title to be the same as the psd file but ending in .ai instead of .psd.
First problem is how to to name the .ai file.
How can I make the action base the name of initial and final .ai file upon each individual psd file? In other words, testname.psd would become testname.ai
Second problem is that as I make the action I seem to have to choose a file not a folder in order to proceed. This means that the action will only work for that .psd file.
How can I choose a folder to place instead of simply a file?
Third problem is that I have a custom preset tracing option that I use. Although I recorded this option as I made the action, in each batching cycle the dialog box for tracing opens and I must manually choose and confirm my tracing option.
How do I record a tracing option that will automatically activate as part of an action?
Please post your response here. If you want to E-mail me, my new address is [email protected]
Thanks in advance for your help.
CliffordHow do I record a tracing option that will automatically activate as part of an action?
You don't. You need to save it as a LiveTrace settings preset. Only named presets can be properly referenced in actions and then you would bypass the panel. As for the rest - file actions should be overridden with the respective settings on the batch panel, where you simply pick the folders for in and out, not specific files. You don't place them, you simply open them. By placing them, you merely add an unnecessary step that has no practical relevance whatsoever in this case.
Mylenium -
Is anyone having the same type of problems I'm having with Lion. I have a new MacBook Pro, received 7 weeks ago, preinstalled with Leopard 10.6.7. I didn't migrate anything from my old iMac, wanted a clean install from the Apple Store. While there, I asked for the upgrade to Lion 10.7, however their system was down.
I installed it myself, wirelessly about a week later, and Apple emailed me a receipt. Now, I've had to call support directly last week when I lost Mail, Address Book, was unable to open Preview or iTunes, among other problems. Seemed fixed after a session that baffled even the store tech. Now I am unable to download or install the recent Mac updates for Lion, from the App Store, could not install Adobe Reader, etc. Messages range from 'A network error has occured - Check your Internet connection and try again' to 'The Installer is damaged and cannot open the package. There may be a problem with file ownership or permissions.' All fail and I'll probably have to call Apple again. I am frustrated beyond words. Logs 'Install's runner tool is not properly configured as a setuid tool', domain errors, 'attempt to write a readonly database, and on and on. I have barely done a thing on this computer except search online for help with these problems. Safari gives me a 'You are not connected to the internet' too often. Diagnostics disagrees. I do see wi-fi problems in the forum. Disk and permissions were fine at the beginning of the earlier problems, checked first by support tech. I'm not sure if support tech even knew. I was just happy they were fixed. Anyone have these download and/or install problems after a 'clean bill of health' so to speak, only a week ago?Let's try the following user tip with that one:
"There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows -
Please show us the video tutorial for this because i am having so much problem with my iphone5 bluetooth and can not send any file . So plz plz help me
You have to use airdrop which is on iOS 7
-
Problem with File Based replication in Weblogic Express 10
Hi,
We have Web application (exploded war) file deployed on Weblogic Express 10, to a Cluster of three Managed Servers (all three on different physical machines).
We are using File based session persistance in weblogic.xml
We have a shared location for all the three servers where we will be sharing the Session data.
When we start the application, its works fine and is very fast, but after sometime the application slows down.
Troubleshooting the Issue we found that its a problem with file based replication. By using File based replication every user session is stored in form of directory inside shared directory. So after sometime thousands of directories are created inside the shared directory where the session information is stored. So when we access the application, its waiting for lot of time with Message Session Monitor .... (this is because its browsing through the shared session storage directory for lot of time for session information as it has lot of directories) and finally after a long time like 10 mins we get the Application Home Page.
When we clean up all the saved sessions inside shared directory, the application works fine, But we will see the same sometime later may be after 3 or 4 hours when the shared session directory has lot of session information stored in it.
Is there a way to clean up the saved session information on file system as soon as that user session is closed by using file based replication.
We cannot used Inmemory replication as our Appl doesnt support it.
Please advice as it is a major show stopper in our Production Mirror env.
Weblogic ConsultantIt is possible to reduce number of live session by configuring very low timeout-secs weblogic.xml. Default is 60 minutes.
More details are here..
http://e-docs.bea.com/wls/docs100/webapp/weblogic_xml.html#wp1071982
Jayesh
Yagna Sys -
One of the desktops on my macbook 2007 steel case will not open.
The message i get on screen at login is that there is a problem with file vault.
my dissertation is on that desktop.
all other desktops/user accounts are unaffected and i have admin permissions on them
i recently upgraded to osx 10.9.4
how can i get back in?
chaiman 22If you restored the account to which the FileVault protected Home folder belonged, then you need to log into that account and enable FileVault.
If you just need access to the data in the FV protected Home folder, then locate the sparsebundle disc image file that contains the encrypted folder. Double-click on it as if to mount it. You will then need to enter the FV password associated with the account to gain access (this is NOT the admin nor login password.) -
Problem with file descriptors not released by JMF
Hi,
I have a problem with file descriptors not released by JMF. My application opens a video file, creates a DataSource and a DataProcessor and the video frames generated are transmitted using the RTP protocol. Once video transmission ends up, if we stop and close the DataProcessor associated to the DataSource, the file descriptor identifying the video file is not released (checkable through /proc/pid/fd). If we repeat this processing once and again, the process reaches the maximum number of file descriptors allowed by the operating system.
The same problem has been reproduced with JMF-2.1.1e-Linux in several environments:
- Red Hat 7.3, Fedora Core 4
- jdk1.5.0_04, j2re1.4.2, j2sdk1.4.2, Blackdown Java
This is part of the source code:
// video.avi with tracks audio(PCMU) and video(H263)
String url="video.avi";
if ((ml = new MediaLocator(url)) == null) {
Logger.log(ambito,refTrazas+"Cannot build media locator from: " + url);
try {
// Create a DataSource given the media locator.
Logger.log(ambito,refTrazas+"Creating JMF data source");
try
ds = Manager.createDataSource(ml);
catch (Exception e) {
Logger.log(ambito,refTrazas+"Cannot create DataSource from: " + ml);
return 1;
p = Manager.createProcessor(ds);
} catch (Exception e) {
Logger.log(ambito,refTrazas+"Failed to create a processor from the given url: " + e);
return 1;
} // end try-catch
p.addControllerListener(this);
Logger.log(ambito,refTrazas+"Configure Processor.");
// Put the Processor into configured state.
p.configure();
if (!waitForState(p.Configured))
Logger.log(ambito,refTrazas+"Failed to configure the processor.");
p.close();
p=null;
return 1;
Logger.log(ambito,refTrazas+"Configured Processor OK.");
// So I can use it as a player.
p.setContentDescriptor(new FileTypeDescriptor(FileTypeDescriptor.RAW_RTP));
// videoTrack: track control for the video track
DrawFrame draw= new DrawFrame(this);
// Instantiate and set the frame access codec to the data flow path.
try {
Codec codec[] = {
draw,
new com.sun.media.codec.video.colorspace.JavaRGBToYUV(),
new com.ibm.media.codec.video.h263.NativeEncoder()};
videoTrack.setCodecChain(codec);
} catch (UnsupportedPlugInException e) {
Logger.log(ambito,refTrazas+"The processor does not support effects.");
} // end try-catch CodecChain creation
p.realize();
if (!waitForState(p.Realized))
Logger.log(ambito,refTrazas+"Failed to realize the processor.");
return 1;
Logger.log(ambito,refTrazas+"realized processor OK.");
/* After realize processor: THESE LINES OF SOURCE CODE DOES NOT RELEASE ITS FILE DESCRIPTOR !!!!!
p.stop();
p.deallocate();
p.close();
return 0;
// It continues up to the end of the transmission, properly drawing each video frame and transmit them
Logger.log(ambito,refTrazas+" Create Transmit.");
try {
int result = createTransmitter();
} catch (Exception e) {
Logger.log(ambito,refTrazas+"Error Create Transmitter.");
return 1;
} // end try-catch transmitter
Logger.log(ambito,refTrazas+"Start Procesor.");
// Start the processor.
p.start();
return 0;
} // end of main code
* stop when event "EndOfMediaEvent"
public int stop () {
try {
/* THIS PIECE OF CODE AND VARIATIONS HAVE BEEN TESTED
AND THE FILE DESCRIPTOR IS NEVER RELEASED */
p.stop();
p.deallocate();
p.close();
p= null;
for (int i = 0; i < rtpMgrs.length; i++)
if (rtpMgrs==null) continue;
Logger.log(ambito, refTrazas + "removeTargets;");
rtpMgrs[i].removeTargets( "Session ended.");
rtpMgrs[i].dispose();
rtpMgrs[i]=null;
} catch (Exception e) {
Logger.log(ambito,refTrazas+"Error Stoping:"+e);
return 1;
return 0;
} // end of stop()
* Controller Listener.
public void controllerUpdate(ControllerEvent evt) {
Logger.log(ambito,refTrazas+"\nControllerEvent."+evt.toString());
if (evt instanceof ConfigureCompleteEvent ||
evt instanceof RealizeCompleteEvent ||
evt instanceof PrefetchCompleteEvent) {
synchronized (waitSync) {
stateTransitionOK = true;
waitSync.notifyAll();
} else if (evt instanceof ResourceUnavailableEvent) {
synchronized (waitSync) {
stateTransitionOK = false;
waitSync.notifyAll();
} else if (evt instanceof EndOfMediaEvent) {
Logger.log(ambito,refTrazas+"\nEvento EndOfMediaEvent.");
this.stop();
else if (evt instanceof ControllerClosedEvent)
Logger.log(ambito,refTrazas+"\nEvent ControllerClosedEvent");
close = true;
waitSync.notifyAll();
else if (evt instanceof StopByRequestEvent)
Logger.log(ambito,refTrazas+"\nEvent StopByRequestEvent");
stop =true;
waitSync.notifyAll();
Many thanks.Its a bug on H263, if you test it without h263 track or with other video codec, the release will be ok.
You can try to use a not-Sun h263 codec like the one from fobs or jffmpeg projects. -
I'm having problems with CS2 (mainly illustrator and photoshop
I'm having problems with CS2 (mainly illustrator and photoshop ) randomly shutting down while trying to save a file. Reformatted my laptop for fear of a virus and reloaded... I have gotten nowhere.
Please Help!CS3 still had issues with the preferences becoming corrupt, so a possible workaround would be to reset the preferences.
The file is called AIPrefs and is located under 'Documents and Settings/User/Application Data/Adobe/Adobe Illustrator CS3 Settings'. It is a hidden file. Delete it with Illustrator closed and when you launch the program again the file will be rebuilt.
May be it is also sounds like you need more memory for your computer. If you can navigate to your computer's memory controls, and allow your operating system to use a portion of your hard disk drive (HDD) as RAM (maybe 2Gb or so) it may solve your issue.
How is about: http://www.filerepairforum.com/forum/adobe/adobe-aa/illustrator/383-%E2%80%8Bcorrupted-fon ts-in-illustrator-file-urgent-help-need – resource has non-commercial specialty
Third party software Illustrator Repair Kit also must be good solution
It has free demo version at:- http://www.illustrator.repair/
Hope this will be helpful. -
Problems with date in procedure on Oracle 11g
Hi gurus,
I have some problems with the date format on Oracle 11g.
Let me explain the situation:
When I am starting a request like
select to_number(to_char(to_date('01.04.2009','dd.mm.yyyy'), 'yyyy'))
from sys.dual
I got as result 2009 as number.
When I do the same in a procedure of a package like this
my_year := to_number(to_char(to_date('01.04.2009','dd.mm.yyyy'), 'yyyy'));
the variable my_year contains the value 9 instead of 2009.
Can someone explain me what's going wrong?
I have just tested with changing the environment variable nls_date_format for the session and for the complete database with no success.
Regards,
BjörnThank you all for your replies so far:
@Alex: You are right, using your short script in sqlplus gives me also 2009 as result
So, I am now posting the essential excerpts of the procedure because the whole one is to large:
function insert_szrl (my_fremd_name varchar, my_elementadresse varchar,
my_zeitstempel varchar, my_wert float,
my_status varchar, my_zyklus varchar,
my_offset integer,
my_quelle varchar, my_nzm_daten integer) return integer is
begin
my_date := to_date (substr (my_zeitstempel, 1, 10), 'dd.mm.yyyy') + my_tageswechsel +1/24;
if my_zyklus = 'mm' then
my_zeitstempeldate := add_months(to_date(last_day(to_date(my_date, 'dd.mm.yyyy')), 'dd.mm.yyyy'),-1) +1 + (my_tageswechsel+1/24);
my_days := to_date(last_day(to_date(my_date, 'dd.mm.yyyy')), 'dd.mm.yyyy') - add_months(to_date(last_day(to_date(my_date, 'dd.mm.yyyy')), 'dd.mm.yyyy'),-1);
my_year := to_number(to_char(to_date(my_date,'dd.mm.yyyy'), 'yyyy'));
ptime.umschalttage_tuned (my_year, my_ws, my_sw);
end if;
While debugging the complete procedure I see since the start only a date which looks like '01.04.2009 07:00:00'
Edited by: user10994305 on 19.05.2009 15:58
Edited by: user10994305 on 19.05.2009 15:58 -
Strange problem with SQLPLUS when client and server on the same box
Hi,
I have the problem with SQLPLUS when clinet and server on the same machine.
With client and server on the same machine i am running the command
sqlplus -l username/password@connect_identifier as SYSDBA.
With this command, even if you pass in wrong username or wrong password or both as wrong you can able to connect to database and execute queries.
Once Connect_identifier is correct and trying to log in as SYSDBA ,sqlplus will log in to DB with any username and password.
How to get rid of this behaviour. Is there any way to do this.
I am running this command by creating a process in C#
Edited by: user11000236 on Jun 16, 2009 10:31 AMuser11000236 wrote:
Thanks for the info.
How does Oracle/SQLPLUS allows any username or password to log in to DB with SYSDBA Privillages? What is the concept behind this.?
This is explainted in the above mentioned link:
Operating system authentication takes precedence over password file authentication. If you meet the requirements for operating system authentication, then even if you use a password file, you will be authenticated by operating system authentication.
Maybe you are looking for
-
I have been having on and off trouble with the wireless internet in my house for about 5 months now. I can take my MacBook anywhere that offers free wifi and connect perfectly; however, in my house I can be standing directly in front of the router an
-
P6N Diamond New Problem: Second HDD Randomly Starts/Stops Since recent Update
Howdy All, Continuing problems with the P5N Diamond. This one's new. Previously I had the same problem as many others with the cold boot issue. Somehow, someway, it just stopped: cold boot or not, one day it just started booting fine....go figure. Ho
-
Pls Help wanted in learning SAP NetWeaver Enterprise portals 6.0
Hi All, I am <b>learning SAP NetWeaver Enterprise portals 6.0</b> by self. I need some information on this like, How to learn in a sequence (like flow from the start to end), I am little confused that where to start and how to learn EP in an effectiv
-
[FLA] me lio con _root
Hola amigos, me cuesta mucho hacerme con el _root para pasar de un clip a otro. Tengo la escena principal, en ella tengo un clip y en este otro clip con un boton el el. Quiero que al pinahr en ese boton, 2 clips mas abajo me vaya a una etiqueta pero
-
My calendars aren't syncing between iphone and ipad?
My calendars aren't syncing between my iphone and ipad. I've looked at all the settings and everything seems to be right. But I don't know what's wrong. Help please!