Find Wraped Source In Oracle...
Hi all,
how can i findout wraped function and procedure ... in oracle database
Regards
Gopinath M
Hi Gopinath,
From your post I understand that you want to see the original non wrapped function or a procedure from its wrapped version.
As per my knowledge from a wrapped code we will not be able to generate the original version.
While creating a procedure or function if you wrap the code it will be stored in the wrapped format in the data dictionaries.
If you come to know of any other way to see the original code of a wrapped object please share it with me.
Thanks
Hari
Similar Messages
-
Where can I find a sophisticated sample app (from open source or oracle)?
I am looking for open-source or Oracle's sample applications that uses most if not all of the features in Oracle Appserver 10.1.3. Most of existing sample applications I found under the 'sample applications' link are for older version of Oracle AS, and not compatible with 10.1.3. Other requires JDeveloper, which I don't plan on using.
Any suggestions?
thanks,
HenryHenry, thanks for the feedback ... I have asked the product manager responsible for the JCA demo to take a look and update the sample. The best way to file the bug without having access to the db is tell us here. We try our best - though sometimes can't keep up - to monitor the forums, particluarly when we have a new release where lots of issues may need follow up like 10.1.3.
On the how tos that require editing the XML, normally that is because we don't have access to do the configuration in the application server control or the command line tooling. In general I recommend you use ASC console or the command line tooling - admin.client.jar or our ant tasks - for configuration as you are right that it is the most consistent and accurate way to configure the environment. This doc book gives a sense of what that tooling works for:
http://download-west.oracle.com/docs/cd/B25221_03/web.1013/b14432/admin.htm#sthref68
including ant tasks:
http://download-west.oracle.com/docs/cd/B25221_03/web.1013/b14431/anttasks.htm#sthref164
However, unlike the previous release of OAS where editing the XML files often had unexpected consequences on other instances in the cluster because of a central managed repository concept that the older release had, in 10.1.3 that concept is no longer there so editing the XML files generally works fine both in stand-alone and managed. Again, in general we recommend using the tooling but my guess is if you have found a how to that requires editing the XML files, I suspect the tooling doesn't support it yet.
Out of curiousity, I would be also interested in which one you found that had that - was it the JCA one again?
Mike. -
Unable to find data source null [Caused by: jdbc/Apps1DataSource not found]
Hi,
I am using OA Adapter which listens to an EBiz HRMS event, and I am encountering the following error in $Home\j2ee\oc4j_soa\log\oc4j_soa_default_group_1\oc4j\log.xml while registering the ESB service.
Error details:
<MSG_TEXT>Failed to process control event for Service "DefaultSystem.SyncWorkerPartyEbizOAAdapter" due to an error while adding the Service! Reason : oracle.tip.esb.server.common.exceptions.BusinessEventFatalException: An unhandled exception has been thrown in the ESB system. The exception reported is: "ORABPEL-12517
AdapterFrameworkImpl::endpointActivation - Endpoint Activation Error.
The Resource Adapter Oracle Applications Resource Adapter was unable to activate the endpoint oracle.tip.adapter.apps.AppsWFBesQueueDequeueActivationSpec:{MessageSelectorRule=tab.user_data.event_name = 'oracle.apps.per.api.person.update_person', QueueName=WF_BPEL_Q, Consumer=ORA_6krj2dpn70s36c1g6h1k8dhi8h, DatabaseSchema=APPS, AppsEventSchema=ANY_SCHEMA} due to the following reason: javax.resource.ResourceException: Unable to find data source null Caused by: jdbc/Apps1DataSource not found
Please correct the reported issue and redeploy the BPEL process.
at oracle.tip.adapter.fw.jca.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:566)
at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.activateInboundJcaEndpoint(ESBActivationAgent.java:390)
at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.performEndpointActivation(ESBActivationAgent.java:306)
at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.activateEndpoint(ESBActivationAgent.java:236)
at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.activateEndpoint(ESBActivationAgent.java:209)
at oracle.tip.esb.server.service.impl.inadapter.InboundAdapterService.activateEndpoint(InboundAdapterService.java:177)
at oracle.tip.esb.server.service.impl.inadapter.InboundAdapterService.activateService(InboundAdapterService.java:119)
at oracle.tip.esb.server.service.EsbServiceFactory.activateEsbService(EsbServiceFactory.java:222)
at oracle.tip.esb.server.service.EsbServiceFactory.addEsbService(EsbServiceFactory.java:240)
at oracle.tip.esb.server.common.RuntimeESBSystem.addService(RuntimeESBSystem.java:211)
at oracle.tip.esb.common.system.ServiceEventsHandler.handleCreateService(ServiceEventsHandler.java:72)
at oracle.tip.esb.common.system.MetadataChangeListener.handleServiceEvent(MetadataChangeListener.java:136)
at oracle.tip.esb.common.system.MetadataChangeListener.onMetadataChange(MetadataChangeListener.java:85)
at oracle.tip.esb.common.control.ControlMessageHandler.handleMessage(ControlMessageHandler.java:115)
at oracle.tip.esb.server.dispatch.agent.ESBWork.process(ESBWork.java:162)
at oracle.tip.esb.server.dispatch.agent.ESBWork.run(ESBWork.java:120)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.resource.ResourceException: Unable to find data source null
at oracle.tip.adapter.apps.AppsManagedConnectionFactory.getDataSourceConnection(AppsManagedConnectionFactory.java:411)
at oracle.tip.adapter.apps.AppsManagedConnectionFactory.getConnection(AppsManagedConnectionFactory.java:288)
at oracle.tip.adapter.apps.AppsManagedConnection.getConnection(AppsManagedConnection.java:85)
at oracle.tip.adapter.apps.AppsConnection.getJdbcConnection(AppsConnection.java:70)
at oracle_tip_adapter_apps_AppsConnection_Proxy.getJdbcConnection()
at oracle.tip.adapter.aq.database.MessageReader.establishDBconnection(MessageReader.java:358)
at oracle.tip.adapter.aq.database.MessageReader.<init>(MessageReader.java:265)
at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.init(AQActivationSpecDequeuer.java:142)
at oracle.tip.adapter.aq.AQEndpoint.<init>(AQEndpoint.java:99)
at oracle.tip.adapter.aq.AQResourceAdapter.endpointActivation(AQResourceAdapter.java:73)
at oracle.tip.adapter.apps.AppsResourceAdapter.endpointActivation(AppsResourceAdapter.java:147)
at oracle.tip.adapter.fw.jca.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:541)
... 20 more
Caused by: javax.naming.NameNotFoundException: jdbc/Apps1DataSource not found
at com.evermind.server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
at com.evermind.server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:257)
at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:197)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at oracle.tip.adapter.apps.AppsManagedConnectionFactory.getDataSourceConnection(AppsManagedConnectionFactory.java:408)
... 31 more
</MSG_TEXT>
I have added the connection properties in $Home\j2ee\oc4j_soa\application-deployments\defaul\oc4j-ra.xml as follows:
<connector-factory location="eis/Apps/apps1" connector-name="Oracle Applications Adapter">
<config-property name="xADataSourceName" value="jdbc/AIADataSource"/>
<config-property name="dataSourceName" value=""/>
<connection-pooling use="none">
</connection-pooling>
<security-config use="none">
</security-config>
</connector-factory>
Please correct me if the connection properties are wrong.
I tried AppsEventSchema with 'NO-SCHEMA' and 'ANY-SCHEMA' also.
If I use File Adapter I was able to register the ESB and instances were created successfully.
My versions:
JDEV: 10.1.3.3.0
SOA: 10.1.3.3.0
I have done a lot of research on this but in vain. Is there any patch for rectifying this error?
Help me on this issue pl.
Regards
RKYou need to check your datasource name jdbc/AIADataSource
Check out your data-sources.xml to make sure you didn't mistype it. -
Hi,
I have installed Oracle11g_win64_11gR1, Database and Client.
The issue is unable to invoke "sqldeveloper", getting the following error message. Could you please help ?
FYI. I have already downloaded and installed installed JRE and JDK.
ie. C:\Program Files (x86)\Java\jre6\ and C:\Program Files\Java\jdk1.6.0_24, still did not work.
C:\Users\oracle>java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
Let me know, if you need more information. Here is the error message.
Error Message
=========
(1) if I invoke sqldeveloper, directly from the location " C:\app\oracle\product\11.1.0\db_1\sqldeveloper\sqldeveloper\bin " using explorer, I do get error message
"Unable to find a java Virtual Machine.
To point to a location of java Virtual machine please refer to the Oracle9i JDeveloper Install Guide ( jdev/install.html)"
(2) if I invoke sqldeveloper, directly from the locationC:\app\oracle\product\11.1.0\client_1\sqldeveloper, it prompts me to enter "full path for java.exe".
When I enter full path and continue, still it continue to prompt and ask the same input.
(3) if I invoke sqldeveloper from from command prompt using the batch file "sqldeveloper.bat"
C:\Users\oracle>C:\app\oracle\product\11.1.0\client_1\sqldeveloper\sqldeveloper\
bin\sqldeveloper.bat
C:\Users\oracle>java -Xmx512M -Xverify:none -XX:JavaPriority10_To_OSPriority=10
-XX:JavaPriority9_To_OSPriority=9 -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_F
LAG=true -Dsun.java2d.ddoffscreen=false -Dwindows.shell.font.languages= -Dide.co
nf="sqldeveloper.conf" -Dide.home.dir.name=.sqldeveloper -classpath ..\..\ide\l
ib\ide-boot.jar;..\..\jdev\lib\xmleditor.jar;..\..\ide\lib\oicons.jar;..\..\..\j
dbc\lib\ojdbc5.jar;..\..\jlib\jewt4.jar;..\..\jlib\share.jar;..\..\sqldeveloper\
lib\jle2.jar oracle.ide.boot.Launcher
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/ide/boot/Launc
her
Caused by: java.lang.ClassNotFoundException: oracle.ide.boot.Launcher
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: oracle.ide.boot.Launcher. Program will exit.
OS
==============
MS Windows 7 Home Premium
sqldeveloper.conf
===================
SetSkipJ2SDKCheck true
IncludeConfFile ../../jdev/bin/ide.conf
AddVMOption -Dapple.laf.useScreenMenuBar=true
AddVMOption -Dcom.apple.mrj.application.apple.menu.about.name="SQL_Developer"
AddVMOption -Dcom.apple.mrj.application.growbox.intrudes=false
AddVMOption -Dcom.apple.macos.smallTabs=true
AddVMOption -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true
AddJavaLibFile ../../jdev/lib/xmleditor.jar
AddJavaLibFile ../../ide/lib/oicons.jar
AddJavaLibFile ../../jlib/jewt4.jar
AddJavaLibFile ../../jlib/share.jar
AddJavaLibFile ../ide/jlib/xmlef.jar
AddJavaLibFile ../../sqldeveloper/lib/jle2.jar
AddJavaLibFile ../../sqldeveloper/lib/oracle.dbtools.logging.jar
AddVMOption -Dsun.java2d.ddoffscreen=false
AddVMOption -Dwindows.shell.font.languages=
IncludeConfFile sqldeveloper-nondebug.conf
SetJavaHome C:\Program Files\Java\jdk1.6.0_24
Edited by: sivapara on Feb 16, 2011 1:08 PMI was able to resolve this issue by performing following.
1. Go to the location where sqldeveloperW.exe is being executed from.
2. You will find a file sqldeveloper.conf in that location. Edit this file and change the value of IncludeConfFile to point to actual place. For me following were old and new values.
OLD (Wrong) : IncludeConfFile ../../jdev/bin/ide.conf
NEW (Correct) : IncludeConfFile ../../ide/bin/ide.conf
After making above change in the sqldeveloper.conf file. Save and close it. Restart SQLDeveloper. You will not get the error anymore.
Thanks
Ravi -
TRUSTED source recon Oracle DBUM
Hi,
I am getting the following error while running the DBUM TRUSTED SOURCE RECON
15:19:20,140 ERROR [DBUM] ================= Start Stack Trace ==================
=====
15:19:20,140 ERROR [DBUM] oracle.iam.connectors.dbum.tasks.DBUMReconTask : execu
te
15:19:20,140 ERROR [DBUM] Reconciliation operation failed
15:19:20,140 ERROR [DBUM] Description : Enter a value (The system cannot find th
e file specified)
15:19:20,140 ERROR [DBUM] java.io.FileNotFoundException: Enter a value (The syst
em cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at oracle.iam.connectors.dbum.common.db.util.QueryBuilder.loadQuery(Unkn
own Source)
at oracle.iam.connectors.dbum.common.db.util.QueryBuilder.getSqlQuery(Un
known Source)
at oracle.iam.connectors.dbum.tasks.DBUMReconTask.execute(Unknown Source
at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.run(Unknown Source)
at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionActi
on.run(Unknown Source)
at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source
at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown S
ource)
at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j
ava:520)
15:19:20,156 ERROR [DBUM] ================= End Stack Trace ====================
===
15:19:20,171 INFO [DBUM] oracle.iam.connectors.dbum.tasks.DBUMReconTask : execu
te : Last Execution Time updated successfully
iPlease provide your suggestions.
Cheers
Kunal JainThanks Suren
I was missing the query fiile name in the lookiup.
I am having a tough time configuring Recon...
I created a target system IT Resource DBUM IT Resource type. Confgiured the DBUM Trusted source recon schedule Task. I have also imported the DBUM TRUSTED RECON XML FILE.
But still nothing comes into the IDM RECON MANAGER TABLE.
13:07:48,921 INFO [DBUM] oracle.iam.connectors.dbum.tasks.DBUMReconTask : init
: Task Name: DBUM Oracle Trusted Resource User Reconciliation
13:07:49,062 INFO [DBUM] oracle.iam.connectors.dbum.tasks.DBUMReconciliationHel
per : getScheduleTaskParameters : Task Scheduler attributes :: {Is Login Recon=N
o, Is Trusted Recon=Yes, IT Resource Name=TRUSTEDPC, Use Transformation For Reco
nciliation=No, Reconciliation Query Filter Lookup=Lookup.DBUM.Oracle.TrustedReco
n.QueryFilter, Reconciliation Validation Lookup=Lookup.DBUM.Oracle.TrustedRecon.
Validation, Batch Reconciliation Query Name=ORACLE_TRUSTED_USER_RECON_WITH_BATCH
, Recon Time Query Name=ORACLE_RECON_TIME, Last Execution Time=1283863494000, Ba
tch Size=100, Task Name=DBUM Oracle Trusted Resource User Reconciliation, Use Re
source Exclusion List=No, Use Validation For Reconciliation=No, Reconciliation T
ransformation Lookup=Lookup.DBUM.Oracle.TrustedRecon.Transformation, Reconciliat
ion Attribute Mapping Lookup=Lookup.DBUM.Oracle.TrustedRecon.Mapping, Resource O
bject Name=Oracle DB User, Use Batch Reconciliation=No, Status Reconciliation Pr
imary Key Field=NODATA, Query Name=ORACLE_TRUSTED_USER_RECON, Custom Query=NODAT
A, Use Custom Query=No}
13:07:49,109 INFO [DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection
: DBConnection : isPool : False
13:07:49,109 INFO [DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection
: DBConnection : Connection Pooling has not been enabled. Will not use Connecti
on Pooling Service
13:07:49,156 INFO [DBUM] oracle.iam.connectors.dbum.common.db.util.DBConnection
: getNonPooledConnection : Connection object obtained =oracle.jdbc.driver.T4CC
onnection@429517a0
13:07:49,171 INFO [DBUM] oracle.iam.connectors.dbum.common.db.util.QueryBuilder
: isValidQuery : Query string : SELECT USERNAME, ACCOUNT_STATUS FROM DBA_USERS
WHERE ((CREATED - TO_DATE('01011970','ddmmyyyy')) *24*60*60*1000) > :lastExecuti
onTime
13:07:49,171 INFO [DBUM] oracle.iam.connectors.dbum.common.db.util.QueryBuilder
: isValidQuery : Query string : SELECT (SYSDATE - TO_DATE('01011970', 'DDMMYYYY
')) *24*60*60*1000 as ts FROM DUAL
13:07:49,171 INFO [DBUM] oracle.iam.connectors.dbum.tasks.DBUMReconTask : execu
te : Reconciliation Start Time = 1283863569000
13:07:49,203 INFO [DBUM] oracle.iam.connectors.dbum.tasks.DBUMReconTask : execu
te : Last Execution Time updated successfully
Please help me with the steps to configure the DBUM IT RECON. PLEASE PLEASE PLEASE
Cheers
Kunal Jain -
Unable to find data source in bw server
Hai Experts,
Iam novice to bw,got a problem in co-pa extraction,
created data source in R/3 n generated,in bw to assign data source to infosource n create info package.But i dont find the infosource or replicated data in bw,could any one suggest how to get that n suggest more about it...please
Thanks in advance
cheers,
VijayWelcome to SDN Vijay!
I would perform the following steps;
1) Replicate the DataSource from your source system. Steps Tcode RSA1 -> Click on source system -> Find your source system and right click -> click on replicate DataSource
2) To find your infosource, Tcode RSA1 -> Click on infosource -> Find (The binocular or CTLF-F) -> Type in the infosource name.
Cheers! Bill
Here is a link on how to create infosource
http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm -
Hi All,
we have installed standard cubes and ODS from Business content. Now we want to load standard ODS but we are unable to identify standard data source.
0CPR_C03 - Infocube.
We have already checked in BI Content and help.sap.com but it doesnot display any data source name.
Kindly give input to find data source.
Regards,
SathvikHi,
Now you got some clue, i.e. some datasource names supports the cube.So in that you need to analyze what feilds you want to and in which datasource you have all that feilds in that way you need to use the DS. For any other information you need to check in sap help sites, here I'm giving some tables in BW, so it will help you.
RSISOSMAP Mapping Between InfoSources and DataSources (=OLTP Sources)
RSOSFIELDMAP Mapping Between DataSource Fields and InfoObjects
RSTS Transfer Structure in SAP BW
ROOSGEN Generated Objects for a DataSource
ROOSOURCE Header Table for SAP BW DataSources (SAP Source System/BW System)
RODELTAM BW Delta Procedure (SAP Source System)
RSOLTPSOURCE Replication Table for DataSources in BW
Thanks
Reddy -
Using Web Service as Data source (Pluggable Data Source) in Oracle Reports
Anyone using Webservice as a pluggable data source in oracle 10g reports.(Report builder version:10.1.2.0.2)? We need to be able to use web service as one of the data source to create reports.Tried the following and ran into issues:
Imported the wspds.jar fle from oracle plugin exchage. When tried using it received the following error in oracle reports trace file.
04/26 22:27:22 java.lang.NoSuchMethodError: oracle.xml.parser.schema.XSDBuilder.build([Loracle/xml/parser/v2/XMLDocument;Ljava/net/URL;)Ljava/lang/Object;
By troubleshooting issue found out that xmlparserv2.jar in 10g is newer than xmlparserv2.jar in 9i. wspds.jar is using xmlparserv2.jar in 9i as it was developed and tested for 9i only. Believe there is no newer wspds.jar file developed specifically for 10g?
Is there a better/standard solution to use webservice as data source in oracle 10g reports? Does later version of oracle reports supports webservice as a data source without any additional plugins? Any suggestion would be helpful.Please provide support for the above request.
It appears that Oracle 10g reports doesn't support Web Service as pluggable data source. Is this option is available in Oracle 11g Reports or Oracle Discoverer Or OBIEE? -
OIM 9.1.0.2 - Weblogic JDBC Multi Data Sources for Oracle RAC
Does OIM OIM 9.1.0.2 BP07 support Weblogic JDBC Multi Data Sources (Services>JDBC>Multi Data Sources) for Oracle RAC instead of inserting the "Oracle RAC JDBC URL" on JDBC Data Sources for xlDS and xlXADS (Services>JDBC>Data Sources> xlDS|xlXADS > Connection Poll> URL) ?
If yes, is there are any other modifications that need to be made on OIM, or just changing the data sources?Yes, it's supported. You install against one instance directly of the Rac Server. Then you update the config.xml file and the jdbc resource in your weblogic server with the full rac address. It is documented for installation against RAC. http://docs.oracle.com/cd/E14049_01/doc.9101/e14047/database.htm#insertedID2
-Kevin -
Command for "How to find Cursor Size" in Oracle Stored Procedure"
Hi
Can u tell me....
How to find Cursor Size" in Oracle Stored Procedure........
I want command for that........why don't you try select count(*) from your_table;That requires running the same query twice - or rather running two different queries twice. Besides it still doesn't guarantee anything, because Oracle's read consistency model only applies at the statement level (unless you're running in a serialized transaction).
This is such a common requirement - users are wont to say "well Google does it" - it seems bizarre that Oracle cannot do it. The truth is that that Google cheats. Firstly it guesses the number on the basis of information in its indexes and refines the estimate as pages are returned. Secondly, Google is under no onus to kepp all its data and indexes synchronized - two simultaneous and identical queries which touch different Google servers can return different results. Oracle Text works the same way, which is why we can get a count with CTX_QUERY.COUNT_HITS in estimate mode.
Cheers, APC
blog: http://radiofreetooting.blogspot.com
. -
How to use java source in Oracle when select by sqlplus.
How to use java source in Oracle when select by sqlplus.
I can create java source in Oracle
import java.util.*;
import java.sql.*;
import java.util.Date;
public class TimeDate
public static void main(String[] args)
public String setDate(int i){
GregorianCalendar calendar = new GregorianCalendar();
calendar.setTime(new Date((long)i*1000));
System.out.println("Dateline: "
+ calendar.get(Calendar.HOUR_OF_DAY) + ":"
+ calendar.get(Calendar.MINUTE) + ":"
+ calendar.get(Calendar.SECOND) + "-"
+ calendar.get(Calendar.YEAR) + "/"
+ (calendar.get(Calendar.MONTH) + 1) + "/"
+ calendar.get(Calendar.DATE));
String n = calendar.get(Calendar.YEAR) + "/" + (calendar.get(Calendar.MONTH) + 1) + "/" + calendar.get(Calendar.DATE);
System.out.print(n);
return n;
I have table name TEST
ID DATE_IN
1 942685200
2 952448400
When I write jsp I use method setDate in class TimeDate
The result is
ID DATE_IN
1 1999/11/16
2 2003/7/25
Thanks you very much.It is unclear where you are having a problem. Is your issue at runtime (when the form runs in the browser) or when working in the Builder on the form?
Also be aware that you will need to sign your jar and include some new manifest entries. Refer to the Java 7u51 documentation and blogs that discuss the changes.
https://blogs.oracle.com/java-platform-group/entry/new_security_requirements_for_rias
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html -
How to find out if the Oracle is a 64 or 32-bit installation
Hi,
I have a customer who has a 64-bit enabled Solaris 8 machine with an Oracle installed on it.
Is there a simple and quick way to find if the installed Oracle is 64 or 32-bit installation. Something like a v$ table.
Thanks,
Tal ([email protected]).Hi,
if the database is running, start a sqlplus session. You will see in the banner something like '64Bit Production' (for 64-bit) or only 'Production' for 32-bit. Alternatively, especially if the database is not running, go to $ORACLE_HOME/bin and type 'file oracle'. The returning strings shows either 32-bit or 64-bit.
Best regards
Werner -
How to set JDBC Data Sources in Oracle MapViewer for Oracle database 12c Release 1 (12.1.0.1)?
The following is my configuration in the conf\mapViewerConfig.xml:
<map_data_source name="mvdemo12"
jdbc_host="127.0.0.1"
jdbc_sid="orcl12c1"
jdbc_port="1522"
jdbc_user="mvdemo"
jdbc_password="7OVl2rJ+hOYxG5T3vKJQb+hW4NPgy9EN"
jdbc_mode="thin"
number_of_mappers="3"
allow_jdbc_theme_based_foi="true"
editable="true"/>
<!-- **** -->
But it does not work.
After use "sqlplus mvdemo/[email protected]:1522/pdborcl", it connected to the Oracle database 12c.
Does anyone know it?
Thanks,For 11.1.1.7.1 use the syntax for jdbc_sid, i.e.
//mypdb1.foo.com as described in the README,
- MapViewer native (non-container) data sources can now use database service name in place of SID. To supply a db service name, you will use the same jdbc_sid attribute, but specify the service name with double slashes in front, such as follows:
<map_data_source name="myds"
jdbc_host="foo.com"
jdbc_sid="//mypdb1.foo.com"
jdbc_port="1522"
/>
For 11.1.1.7.0 use a container_ds instead.
i.e. instead of using
<map_data_source name="my_12c_test"
jdbc_host="mydbinstance"
jdbc_sid="pdborcl12c"
jdbc_port="1522"
jdbc_user="mytestuser"
jdbc_password="m2E7T48U3LfRjKwR0YFETQcjNb4gCMLG8/X0KWjO00Q="
jdbc_mode="thin"
number_of_mappers="6"
allow_jdbc_theme_based_foi="false"
editable="false"
/>
use
<map_data_source name="my_12c_test"
container_ds="jdbc/db12c"
number_of_mappers="6"
allow_jdbc_theme_based_foi="false"
editable="false"
/>
In my case the Glassfish 3.1.2.2 JDBC connection pool definition was
Property
url jdbc:oracle:thin:@mydbinstance:1522/pdborcl12c.rest_of.service.name
Uncheck the Wrap JDBC Objects option in Advanced panel, i.e. the Edit JDBC Connection Pool Advanced properties page.
Add a JDBC resource for that newly created pool
Use that in mapviewerconfig.xml as above -
I have a 3rd generation ipod that a friend gave me. I cannot find anything on how to get rid of his name and music on it. This is what the owners manual says:
"Select ipod nano in the soiurce list and click the summary tab" I cannot find the source or the summary tab on itunes. Can any one help me? I would like to delete everything on it and start over but I am afraid I cannot add anything back on it. I know this is detailed and a lot, but I really need help.Restore
Note: Because Restore erases all of the songs and files on iPod, make sure toback up any files you've saved on the iPod disk. All of your songs, videos, podcasts, audiobooks, and games can be loaded back to your iPod provided that you have them stored in your iTunes Library.
How to restore your iPod:For Windows:
1. Make sure you've reinstalled the latest version of iTunes.
2. Open iTunes, and then connect your iPod to your computer.
3. After a few moments, it will appear in the source list in iTunes. If the iPod's display doesn't show "Connected" or "Do not disconnect" you may need to put the iPod into disk mode to proceed.
4. Select your iPod in the source list and you will see information about it appear in the Summary tab of the main iTunes windows.
5. Click the Restore button. You will be prompted with one or more restore options that may prompt iTunes to automatically download of the latest iPod Software. The 4 possible restore options are:
Restore Option 1: Restore - Restores with same iPod Software version already on iPod.
Restore Option 2: Use Same Version - Restores with same iPod Software version already on iPod even though a newer version is available.
Restore Option 3: Use Newest Version - Restores with the latest iPod Software on your computer.
Restore Option 4: Restore and Update - Restores with the latest iPod Software on your computer.
6. A progress bar will appear on the computer screen indicating that the first stage of the restore process has started. When this stage is completed, iTunes will instruct you to leave iPod connected to your computer to complete restore.
7. During the stage 2 of the restore process, the iPod will show an Apple logo as well as a progress bar at the bottom of the display. It is critical that the iPod remains connected to the computer or iPod Power adapter during this stage. Note: The progress bar may be difficult to see since the backlight on the iPod display may be off.
8. After stage 2 of the restore process is complete and the iPod is connected to the computer, the iTunes Setup Assistant window will appear asking you to name your iPod and choose your syncing preferences similar to when you connected your iPod for the first time.
For Mac:
1. Make sure you've reinstalled the latest version of iTunes.
2. Open iTunes, and then connect your iPod to your computer.
3. After a few moments, it will appear in the source list in iTunes. If the iPod's display doesn't show "Connected" or "Do not disconnect" you may need to put the iPod into disk mode to proceed.
4. Select your iPod in the source list and you will see information about it appear in the Summary tab of the main iTunes windows.
5. Click the Restore button. You will be prompted with one or more restore options that may prompt iTunes to automatically download of the latest iPod Software. The 4 possible restore options are:
Restore Option 1: Restore - Restores with same iPod Software version already on iPod.
Restore Option 2: Use Same Version - Restores with same iPod Software version already on iPod, even though a newer version is available.
Restore Option 3: Use Newest Version - Restores with latest iPod Software version on your computer.
Restore Option 4: Restore and Update - Restores with latest iPod Software version on your computer.
6. A message will appear prompting you to enter an administrator's name and password.
7. A progress bar will appear on the computer screen indicating that the first stage of the restore process has started. When this stage is completed, iTunes will instruct you to leave iPod connected to your computer to complete restore.
8. During the stage 2 of the restore process, the iPod will show an Apple logo as well as a progress bar at the bottom of the display. It is critical that the iPod remains connected to the computer or iPod Power adapter during this stage. Note: The progress bar may be difficult to see since the backlight on the iPod display may be off.
9. After stage 2 of the restore process is complete and the iPod is connected to the computer, the iTunes Setup Assistant window will appear asking you to name your iPod and choose your syncing preferences similar to when you connected your iPod for the first time.
Source:
iPod nano (3rd generation) Troubleshooting Assistant
Message was edited by: michael08081 -
In 4.1 BO Client Tools not able to find data source for BVM
Hi All,
In 4.1 BO Client Tools not able to find data source for BVM
Its creating issue .
So if any body have any solution please let me know.
Regards,
Abhishekjava.lang.NoSuchMethodError: org.w3c.dom.Node.getTextContent()Ljava/lang/String;
at customertree.XmlLoader.readData(XmlLoader.java:127)
at customertree.XmlLoader.<init>(XmlLoader.java:69)
at customertree.CustomerTreeFinal.jbInit(CustomerTreeFinal.java:240)
at customertree.CustomerTreeFinal.init(CustomerTreeFinal.java:858)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source
at java.lang.Thread.run(Unknown Source)and then inside the code... this is where i get my first error
clients.setRowId(list2.item(i).getTextContent());
Maybe you are looking for
-
Applet works on appletviewer but not browser
Hi, I have just started using Java. I'm so new the only program I've tried to compile and run is "Hello World". I'm already having problems running the applet. I'm using Java 2 SDK on Windows 2000. The applet works just fine on appletviewer, but I ca
-
Having a problem with random video dots that blink on and off on my IMAC27 that is 210 vintage machine. If I shutdown the machine and re-start they disappear for awhile but do come back. I am running the latest version of Maverick. I have read that i
-
I am trying to update my apps but it says its not vaild in Singapore. I am from Australia. How do I return it back to Australia setting?
-
MacBook Pro speakers aren't loud enough
Ever since I got my Mid 2009 2.53GHz 15-inch MacBook Pro the speakers haven't been loud. For example if I want to listen to content in iTunes, i somewhat have some difficulty listening. So what I do with all my content on itunes is right-click, get i
-
Trouble activating OIAACCGI structure in upgrade process, fields repeated
Hi community, I'm working in an upgrade process from 4.6 to ECC 6 versions. In the activation step some errors have arisen and many of that have been solved but still there is an error with the OIAACCGI structure. the trouble is that this structure h