Generating/running Web PL/SQL app from tutorial
My station is configured/installed as follows:
windows 2000 server
IIS 5
IE 5
Oracle Designer 6i
Oracle repository
Oracle 8.0.5 in one oracle home
Oracle 8.1.7 in another oracle home
(both server environments are working correctly)
My problem is:
I am able to perform all the tasks of the tutorial up to the point when you run the generated Web PL/SQL app. I believe the repository and server is setup correctly because the rest of the tutorial works. I also ran the "install web PL/SQL generator" option in the schema where the app was to be installed to without any errors.
When I generate the application it happens without any errors reported, but when I click the "list actions" button there is no item called "Run generated application using browser" option.
I have 4 questions:
1. How would I access the application via an URL? ie, http://myserver/some_web_location/webapp
2. Can I use the generated web app portion on an IIS server?
3. Where else can I look for information on this problem on the Web PL/SQL side?
4. Anything else I may have missed?
null
Also, if you're using any PLSQL object or collection types you'll need to think
about JPublisher and SQLJ to generate the java equivalents. I've had to do this
when integrating with the Oracle apps.
Steve...
"Mark Griffith" <[email protected]> wrote:
>
"tjpultz" <[email protected]> wrote in message
news:[email protected]..
Does anybody know how to do this or if it can even be done. I workin
an area that has been developing Oracle PL/SQL web apps running with
the Oracle App Server V. 4.0.8. We wanted to update our database
and appserver to 9i but the IT standards group decided that
the only company approved appserver would be BAE WebLogic. Is it
possible to call Oracle stored procedures thru Weblogic instead of
using Oracles application server with the PL/SQL cartridge to handle
all PL/SQL web requests? Any help or information would be greatly
appreciated.Looks like you can get to PL/SQL reuests
http://technet.oracle.com/sample_code/tech/java/sqlj_jdbc/files/basic/plsqlS
ample/PLSQLSample.java.html
Obviuosly you don't get your JDBC connection from Oracles Data source.
1) Create a Connection Pool with Oracles thin driver
2) get a connection from this pool
3) execute PL/SQL
Your gonna have to do some "porting" obviously.
mbg
Similar Messages
-
Can we Run a simple SQL statement from OBIEE Middle Tier node
Hi
i am working in OBIEE 11g environment. Database is installed on one node and Middle tier (BI services ) in other node,
Can i use any utility to run a simple SQL statement from Middle tier ?
Thanks
ReddyAny utility means?
We can create an ODBC connection on the BI server and run the sql.
Mark if helps. -
Running GarageBand (or any app) From an iPod?
Nothing showed up from searches.
Does anyone know if this is do-able? This is what sparked the thought:
http://www.macworld.com/weblogs/macgems/2005/08/garagebandanywhere/index.phpSimply put, just have a nice compact and relatively inexpensive (buying off eBay or refurb market) FW HD to run apps from that could also do double duty as an iPod should the need arise.
Here's what the developer wrote on the MacCentral thread:
"GarageBand can certainly be run from an iPod. In fact, That was what I originally designed this to do. My Cube was running out of space. So I installed GarageBand on my iPod... "
http://www.macworld.com/forums/ubbthreads/showflat.php?Cat=&Board=macgems&Number =350191&page=0&view=collapsed -
Calling Web PL/SQL page from Employee Search Page
Hello,
I have a requirement where in I have to call a custom Web PL/SQL self service page from the Employee Search page (this is a page where managers search employees giving criteria as First Name, Last Name, Assignment number etc. which is a OA Framework page supplied by Oracle)
Now situation is after search when I will click on Details button on the search results table the custom Web PL/SQL page should be called.
But I am not able to figure out how to do it. Could anybody be able to help me on this ?You have to set the destination property of the button to call your WebPL/SQL page.
-
Generating Ruby Web Service Access Classes from a WSDL
If you have tried to consume a web service from Ruby you surely have noticed how annoying is to write manually all the Ruby code just to invoke a service with complext input parameters' structure:
- You have to know what do the input parameters, their structure and type look like;
- You have to write Ruby classes for them to encapsulate the structures;
- You have to instantiate these classes and pass the objects to the web service proxy class;
- You have to interprete the output parameters.
All this is not impossible of course, but if you are just consumer of the web service and not the developer, if you don't have the exact documentation, you have to read the WSDL description of the service and create the Ruby classes (structures) for the parameters.
Fortunately there is a small, though handy tool, called <b>wsdl2ruby.rb</b>. It accomplishes all these boring tasks for you.
In the following example I will try to show you how <b>wsdl2ruby</b> can be used to generate Ruby classes for accessing a SAP NetWeaver web service, called <b>CreditChecker1</b> (a web service for checking if a person is reliable credit consumer).
To generate the necessary classes we will create a ruby script. Let us name it <b>ws2rgen.rb</b>. Here is what this file looks like:
# Import the wsdl2ruby library.
require 'wsdl/soap/wsdl2ruby'
require 'logger'
# Callback function for the WSDL 2 Ruby generation options.
def getWsdlOpt(s)
optcmd= {}
s << "Service"
optcmd['classdef'] = s
#should work but doesn't, driver name is derived from classname
#if you specify both it breaks, same thing for client_skelton
#optcmd['driver'] = s
optcmd['driver'] = nil
#optcmd['client_skelton'] = nil
optcmd['force'] = true
return optcmd
end
# Create logger.
logger = Logger.new(STDERR)
# Create WSDL2Ruby object and generate.
worker = WSDL::SOAP::WSDL2Ruby.new
worker.logger = logger
# WSDL file location.
worker.location = "http://mysapserver:53000/CreditChecker1/Config1?wsdl"
# Where to generate.
worker.basedir = "temp"
# Set options.
worker.opt.update(getWsdlOpt("Service"))
# Heat.
worker.run
The procedure is straightforward. First we create the WSDL2Ruby object, set its properties <b>location</b> and <b>basedir</b> and then set all other options via the callback function <b>getWsdlOpt()</b>. For further information about these parameters one could consult the source code of wsdl2ruby or contact the developers. Nevertheless the default options are pretty satisfactory. With the last line we start the generation. Two Ruby files will be generated in the <b>temp</b> folder, which is a subfolder of the script's current folder. <b>Please, create the folder "temp" before executing the script.</b>
This generates two files. The first one is <b>CreditChecker1Wsd.rb</b>, containing the necessary data structures:
require 'xsd/qname'
# {urn:CreditChecker1Vi}areReliable
class AreReliable
@@schema_type = "areReliable"
@@schema_ns = "urn:CreditChecker1Vi"
@@schema_qualified = "true"
@@schema_element = [["persons", "ArrayOfPerson"]]
attr_accessor :persons
def initialize(persons = nil)
@persons = persons
end
end
# {urn:CreditChecker1Vi}areReliableResponse
class AreReliableResponse
@@schema_type = "areReliableResponse"
@@schema_ns = "urn:CreditChecker1Vi"
@@schema_qualified = "true"
@@schema_element = [["response", ["ArrayOfboolean", XSD::QName.new("urn:CreditChecker1Vi", "Response")]]]
def Response
@response
end
def Response=(value)
@response = value
end
def initialize(response = nil)
@response = response
end
end
# {urn:CreditChecker1Vi}isReliable
class IsReliable
@@schema_type = "isReliable"
@@schema_ns = "urn:CreditChecker1Vi"
@@schema_qualified = "true"
@@schema_element = [["person", "Person"]]
attr_accessor :person
def initialize(person = nil)
@person = person
end
end
# {urn:CreditChecker1Vi}isReliableResponse
class IsReliableResponse
@@schema_type = "isReliableResponse"
@@schema_ns = "urn:CreditChecker1Vi"
@@schema_qualified = "true"
@@schema_element = [["response", ["SOAP::SOAPBoolean", XSD::QName.new("urn:CreditChecker1Vi", "Response")]]]
def Response
@response
end
def Response=(value)
@response = value
end
def initialize(response = nil)
@response = response
end
end
# {urn:java/lang}ArrayOfboolean
class ArrayOfboolean < ::Array
@@schema_type = "boolean"
@@schema_ns = "http://www.w3.org/2001/XMLSchema"
@@schema_element = [["boolean", ["SOAP::SOAPBoolean[]", XSD::QName.new("urn:java/lang", "boolean")]]]
end
# {urn:com.sap.scripting.test.services.creditchecker.classes}Person
class Person
@@schema_type = "Person"
@@schema_ns = "urn:com.sap.scripting.test.services.creditchecker.classes"
@@schema_element = [["age", "SOAP::SOAPInt"], ["name", "SOAP::SOAPString"], ["purse", "Purse"]]
attr_accessor :age
attr_accessor :name
attr_accessor :purse
def initialize(age = nil, name = nil, purse = nil)
@age = age
@name = name
@purse = purse
end
end
# {urn:com.sap.scripting.test.services.creditchecker.classes}Purse
class Purse
@@schema_type = "Purse"
@@schema_ns = "urn:com.sap.scripting.test.services.creditchecker.classes"
@@schema_element = [["color", "SOAP::SOAPString"], ["money", "Money"]]
attr_accessor :color
attr_accessor :money
def initialize(color = nil, money = nil)
@color = color
@money = money
end
end
# {urn:com.sap.scripting.test.services.creditchecker.classes}Money
class Money
@@schema_type = "Money"
@@schema_ns = "urn:com.sap.scripting.test.services.creditchecker.classes"
@@schema_element = [["amount", "SOAP::SOAPDouble"], ["currency", "SOAP::SOAPString"]]
attr_accessor :amount
attr_accessor :currency
def initialize(amount = nil, currency = nil)
@amount = amount
@currency = currency
end
end
# {urn:com.sap.scripting.test.services.creditchecker.classes}ArrayOfPerson
class ArrayOfPerson < ::Array
@@schema_type = "Person"
@@schema_ns = "urn:com.sap.scripting.test.services.creditchecker.classes"
@@schema_element = [["Person", ["Person[]", XSD::QName.new("urn:com.sap.scripting.test.services.creditchecker.classes", "Person")]]]
end
The second file is <b>CreditChecker1WsdDriver.rb</b>. In it you can find a generated child class of SOAP::RPC::Driver, containing all methods of this web service, so you don't need to add every method and its parameters to call the web service.
require 'CreditChecker1Wsd.rb'
require 'soap/rpc/driver'
class CreditChecker1Vi_Document < ::SOAP::RPC::Driver
DefaultEndpointUrl = "http://mysapserver:53000/CreditChecker1/Config1?style=document"
MappingRegistry = ::SOAP::Mapping::Registry.new
Methods = [
def initialize(endpoint_url = nil)
endpoint_url ||= DefaultEndpointUrl
super(endpoint_url, nil)
self.mapping_registry = MappingRegistry
init_methods
end
private
def init_methods
Methods.each do |definitions|
opt = definitions.last
if opt[:request_style] == :document
add_document_operation(*definitions)
else
add_rpc_operation(*definitions)
qname = definitions[0]
name = definitions[2]
if qname.name != name and qname.name.capitalize == name.capitalize
::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
__send__(name, *arg)
end
end
end
end
end
end
There is a problem with this script, since the <b>Methods</b> array is empty. I suppose it is due to the imports in the SAP NetWeaver WSDL, maybe wsdl2ruby is not mighty enough to handle these WSDL imports. When I succeed in overcoming this, I will post again in this thread to let everybody know.
Message was edited by: Vasil BachvarovHi,
I find Ruby to be really tough to consume SAP WebServices. For simple scenarios like currency conversion may it is good. But for complex scenarios such as Purchase Order entry etc..I found it very annoying to use wsdl2ruby and see that it didnt generate correct proxies.
Until wsdl2ruby is stable enough to support complex datatypes, authentication etc. my recommendation is to use JRuby and use Java Proxies generated by NW Developer studio until pure Ruby's web service support improves.
Following link might be of interest w.r.t wsdl2ruby
http://derklammeraffe.blogspot.com/2006/08/working-with-wsdl2r-soap4r-and-complex.html
Regards
Kiran -
Can not connect to web, itune or apps from my ipad
I just updated my ipad and now I can not get on the web, into itunes or apps. What did I do wrong?
Some things to try first:
1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
4. Go into your router security settings and change from WEP to WPA with AES.
5. Renew IP Address: (especially if you are droping internet connection)
• Launch Settings app
• Tap on Wi-Fi
• Tap on the blue arrow of the Wi-Fi network that you connect to from the list
• In the window that opens, tap on the Renew Lease button
6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
~~~~~~~~~~~~~~~~~~~~~~~~~
iOS 6 Wifi Problems/Fixes
Wi-Fi Fix for iOS 6
https://discussions.apple.com/thread/4823738?tstart=240
How To: Workaround iPad Wi-Fi Issues
http://www.theipadfan.com/workaround-ipad-wifi-issues/
Another Fix For iOS 6 WiFi Problems
http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
Fix For iOS 6 WiFi Problems?
http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
iOS 6 iPad 3 wi-fi "connection fix" for netgear router
http://www.youtube.com/watch?v=XsWS4ha-dn0
Apple's iOS 6 Wi-Fi problems
http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
~~~~~~~~~~~~~~~~~~~~~~~
How to Boost Your Wi-Fi Signal
http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.h tm
Troubleshooting a Weak Wi-Fi Signal
http://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Sig nal.htm
How to Fix a Poor Wi-Fi Signal on Your iPad
http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
iOS Troubleshooting Wi-Fi networks and connections http://support.apple.com/kb/TS1398
iPad: Issues connecting to Wi-Fi networks http://support.apple.com/kb/ts3304
WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
How to Fix: My iPad Won't Connect to WiFi
http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
iOS: Recommended settings for Wi-Fi routers and access points http://support.apple.com/kb/HT4199
How to Quickly Fix iPad 3 Wi-Fi Reception Problems
http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
iPad Wi-Fi Problems: Comprehensive List of Fixes
http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
Connect iPad to Wi-Fi (with troubleshooting info)
http://thehowto.wikidot.com/wifi-connect-ipad
Fix iPad Wifi Connection and Signal Issues http://www.youtube.com/watch?v=uwWtIG5jUxE
Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
Unable to Connect After iOS Update - saw this solution on another post.
https://discussions.apple.com/thread/4010130
Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
Wi-Fi or Bluetooth settings grayed out or dim
http://support.apple.com/kb/TS1559
~~~~~~~~~~~~~~~
If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
Cheers, Tom -
Running a C++/OpenCV app from terminal (which was first created in Xcode)
Hi there,
First of all, I'm pretty newbie to Xcode, since I've always coded in Textmate. But now I have to use XCode for using OpenCV, because I created a opencv framework. If I build&run the code in XCode, it works great, but now I have to run it from Terminal and it gives me an error (i do "./" to the release build):
*dyld: Library not loaded: @executable_path/../Frameworks/OpenCV.framework/Versions/A/OpenCV*
*Referenced from: /Users/Victor/Documents/PFC/src/opencv/blob/build/Release/./test3*
*Reason: image not found*
*Trace/BPT trap*
If I try to compile the .cpp myself from Terminal, it says it doesn't find the opencv libraries.
So, how do I run this? I thought that XCode would provide me a build for running it anytime without XCode.Ok, false alarm. As I said, I'm pretty newbie: i was building on Debug mode so the Release build didn't wrk because of that. Now it works great
-
How can i run java windows(class) app. from studio creator
Hi experts,
I want to run windows application(which write with java and compile javac, i have got *.class) from studio creator.
For example;
import java.awt.*;
import java.awt.event.*;
public class IlkPencere implements WindowListener,ActionListener
public Frame p1;
public Button btnIkinciPencere;
public Button btnKapat;
public int X;
public int Y;
public void PencereAyarla(String baslik,int genislik,int yukseklik,int konumX, int konumY,Color
arkaPlanrengi)
X=konumX;
Y=konumY;
p1=new Frame(baslik);
p1.setLocation(konumX,konumY);
p1.setBackground(arkaPlanrengi);
p1.setSize(genislik,yukseklik);
p1.setLayout(new FlowLayout());
p1.addWindowListener(this);
btnIkinciPencere= new Button("Ikinci Pencere");
btnKapat=new Button("Kapat");
p1.add(btnIkinciPencere);
p1.add(btnKapat);
btnKapat.addActionListener(this);
btnIkinciPencere.addActionListener(this);
p1.setVisible(true);
public static void main(String args[])
IlkPencere p=new IlkPencere();
p.PencereAyarla("ANA PENCERE",250,100,0,0,Color.white);
public void actionPerformed(ActionEvent e)
if(e.getSource()==btnKapat)
p1.setVisible(false);
else if(e.getSource()==btnIkinciPencere)
IlkPencere p=new IlkPencere();
X=X+50;
Y=Y+50;
p.PencereAyarla("ANA PENCERE",100,100,X,Y,Color.red);
public void windowClosing(WindowEvent e)
System.exit(0);
public void windowOpened(WindowEvent e)
public void windowClosed(WindowEvent e)
public void windowIconified(WindowEvent e)
public void windowDeiconified(WindowEvent e)
public void windowActivated(WindowEvent e)
public void windowDeactivated(WindowEvent e)
I am using java server. I want this ; Any client can run my project(create with studio creator) with explorer after click any button after this class run application windows(but this windows application must run on server)
I don't want to install any program in client PC. Client PC which have got only explorer, may be use this application.
Thanks,or can i hidden explorer tools and address bar. User must use only my application menu.
How can i solve it. -
I have had this problem for a while. Deleted App Store, re installed, signed out and back in, called support, deleted App Store, empty trash, restart, install App Store. Still no fix.
After an update, the apps themselves show the current version. Quite a few ( not all ) will inevitebly pop up as needing updates.
Any ideas?.Please stop deleting the App Store application, if that's what you've been doing. It's completely pointless.
App Store Keeps Wanting To Update Apps -
Generating web PL/SQL Form header (MODSHD) including modulename
Hi all,
I want to generate a WEB PL/SQL form using a template.
The call to the stored function goes fine. I call package.function which returns a string, that is displayed. So far so good...
However, I want to display the name of the Module (or some other variable from Designer).
Can I pass that in some way to the function?
Thanks,
RobNever mind, I got it. Thanks i also have that problem. please send me your code.
Thanks. email me at [email protected] -
Running sql script from pl/sql
Is there any standard way to run an external sql script from pl/sql
I really appreciate any assistance.If you want, I did start writing a function reading and executing statements out of sql script with utl_file.
can I issue this command in PL/SQL: EXECUTE IMMEDIATE '@filename.sql';
the function could be extended for DDL, session setting, etc...
Regards
Laurent -
Prevent Lync 2010 Web App From Running
I am an SCCM administrator and have been placed with the task of trying to figure out a means by which to prevent some users that have been abusing IM from using MS Lync. I have already setup the desktop support team with a device collection that they
can place any machine into to uninstall MS Lync and Lync Group Chat 2010 from that machine. However, the desktop support team also wants to prevent these users from access to the MS Lync Web App, which I am having difficulties trying to figure out some way
to block this addin from installing/running. We had already inquired with our exchange team and they refused to delete Lync access from the problem users' AD accounts because they felt that it would be too difficult to manage and I don't have access to Exchange,
so I can't change their Lync access from the account administration end. Is there a way to prevent the Lync 2010 Web App from installing/running via SCCM configuration baseline and/or GPO? Thanks to anyone who can provide some suggestions.You can't disable it using SCCM or GPO because it's web application. You can disable it from Lync Server.
To disable Lync Web App, You can check below link
http://social.technet.microsoft.com/Forums/lync/en-US/33fbfa3f-e7dd-43a7-85f4-43c280e17d4f/disable-lync-web-app-link?forum=ocsconferencing
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
Mai Ali | My blog: Technical | Twitter:
Mai Ali -
I just downloaded JDev and try to run web application who works fine on EA1 and get:
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
**** Unable to obtain password from principals.xml. Using default.
D:\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config>
D:\jdevstudio1013\jdk\bin\javaw.exe -server -classpath D:\jdevstudio1013\j2ee\home\oc4j.jar;D:\jdevstudio1013\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config D:\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config\server.xml
[waiting for the server to complete its initialization...]
2006-01-30 16:23:09.144 WARNING J2EE OJR0107 Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.informix.jdbc.IfxDriver
2006-1-30 16:23:09 com.evermind.server.ApplicationStateRunning initConnector
SEVERE: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.informix.jdbc.IfxDriver
06/01/30 16:23:09 SEVERE: ApplicationStateRunning.initConnector Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.informix.jdbc.IfxDriver
06/01/30 16:23:09 SEVERE: ApplicationStateRunning.initConnector Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.informix.jdbc.IfxDriver
at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2016)
at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1961)
at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1220)
at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:356)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:208)
at com.evermind.server.Application.setConfig(Application.java:391)
at com.evermind.server.Application.setConfig(Application.java:308)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1771)
at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1532)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:939)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.resource.ResourceException: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.informix.jdbc.IfxDriver
at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:106)
at oracle.oc4j.sql.DataSourceUtils.getDataSourceConnectionPool(DataSourceUtils.java:322)
at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:1997)
... 11 more
Caused by: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.informix.jdbc.IfxDriver
at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:247)
at oracle.oc4j.sql.DataSourceConnectionPoolImpl.<init>(DataSourceConnectionPoolImpl.java:107)
at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:99)
... 13 more
Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: com.informix.jdbc.IfxDriver
Dependent class: oracle.oc4j.sql.config.DataSourceConfigUtils
Loader: oc4j:10.1.3
Code-Source: /D:/jdevstudio1013/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in META-INF/boot.xml in D:\jdevstudio1013\j2ee\home\oc4j.jar
This load was initiated at current-workspace-app.root:0.0.0 using the Class.forName() method.
The missing class is not available from any code-source or loader in the system.
at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2061)
at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1665)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1621)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1606)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:244)
... 15 more
2006-1-30 16:23:09 com.evermind.server.ApplicationStateRunning initConnector
SEVERE: Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.informix.jdbc.IfxDriver
at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2016)
at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1961)
at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1220)
at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:356)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:208)
at com.evermind.server.Application.setConfig(Application.java:391)
at com.evermind.server.Application.setConfig(Application.java:308)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1771)
at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1532)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:939)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.resource.ResourceException: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.informix.jdbc.IfxDriver
at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:106)
at oracle.oc4j.sql.DataSourceUtils.getDataSourceConnectionPool(DataSourceUtils.java:322)
at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:1997)
... 11 more
Caused by: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.informix.jdbc.IfxDriver
at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:247)
at oracle.oc4j.sql.DataSourceConnectionPoolImpl.<init>(DataSourceConnectionPoolImpl.java:107)
at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:99)
... 13 more
Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: com.informix.jdbc.IfxDriver
Dependent class: oracle.oc4j.sql.config.DataSourceConfigUtils
Loader: oc4j:10.1.3
Code-Source: /D:/jdevstudio1013/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in META-INF/boot.xml in D:\jdevstudio1013\j2ee\home\oc4j.jar
This load was initiated at current-workspace-app.root:0.0.0 using the Class.forName() method.
The missing class is not available from any code-source or loader in the system.
at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2061)
at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1665)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1621)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1606)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:244)
... 15 more
2006-1-30 16:23:09 com.evermind.server.Application setConfig
WARNING: Application: current-workspace-app is in failed state as initialization failedjava.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.informix.jdbc.IfxDriver
06/01/30 16:23:09 WARNING: Application.setConfig Application: current-workspace-app is in failed state as initialization failedjava.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.informix.jdbc.IfxDriver
2006-01-30 16:23:09.222 WARNING J2EE 0JR0013 Exception initializing deployed application: current-workspace-app. Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.informix.jdbc.IfxDriver
Ready message received from Oc4jNotifier.
06/01/30 16:23:13 Oracle Containers for J2EE 10g (10.1.3.0.0) initialized
Embedded OC4J startup time: 14687 ms.
Target URL -- http://194.12.245.233:8988/Classification2-VeiwController-context-root/classificationList.jsfGreat, This works. Thanks.
I hav another problem.
Now my VirtualMashine is clyent.
If I choos ojvm :
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
**** Unable to obtain password from principals.xml. Using default.
D:\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config>
D:\jdevstudio1013\jdk\bin\javaw.exe -ojvm -classpath D:\jdevstudio1013\j2ee\home\oc4j.jar;D:\jdevstudio1013\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config D:\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config\server.xml
[waiting for the server to complete its initialization...]
Process exited with exit code 128.
Can u resolv this problem?
Thanks
Message was edited by:
KrasiG -
Error while running Hello world from Tutorial
Hi ,
I am facing a strange problem while running Hello world from tutorial. The page expires after running for half an hour and the log in the Jdeveloper is
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
C:\Jdev\jdevbin\jdk1.4.2\bin\javaw.exe -client -classpath C:\Jdev\jdevbin\j2ee\home\oc4j.jar;C:\Jdev\jdevbin\jdev\lib\jdev-oc4j.jar -Xbootclasspath/p:C:\Jdev\jdevbin\jdev\appslibrt\ojdbc14.jar;C:\Jdev\jdevbin\jdev\appslibrt\nls_charset12.zip -DRUN_FROM_JDEV=true -mx256m -Doracle.j2ee.dont.use.memory.archive=false -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 com.evermind.server.OC4JServer -config C:\Jdev\jdevhome\jdev\system9.0.3.5.1312\oc4j-config\server.xml
[waiting for the server to complete its initialization...]
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 5782 ms.
Auto-deploying OA Framework web application deployment descriptor (New server version detected)...
Oracle9iAS (9.0.3.1.0) Containers for J2EE initialized
Tutalii: C:\Jdev\jdevbin\jdev\appslibrt\iasjoc.zip archive
[Feb 27, 2008 4:31:57 PM IST]:1204110117921:Thread[HttpRequestHandler-25086455,5,main]:-1:-1:sisatpat:9.182.220.120:-1:-1:UNEXPECTED:[fnd.common.logging.DebugEventManager.handlerException]:java.io.FileNotFoundException: C:\u01\VIS\FND.log (The system cannot find the path specified)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at oracle.apps.fnd.common.logging.FileHandleManager.getFileInternal(FileHandleManager.java:99)
at oracle.apps.fnd.common.logging.FileHandler.<init>(FileHandler.java:99)
at oracle.apps.fnd.common.logging.FileHandler.<init>(FileHandler.java:79)
at oracle.apps.fnd.common.logging.DebugEventManager.registerHandlers(DebugEventManager.java:1198)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:949)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:907)
at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:1025)
at oracle.apps.fnd.common.WebAppsContext.init(WebAppsContext.java:3486)
at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:537)
at oracle.apps.jtf.base.resources.Architecture.createWebAppsContext(Architecture.java:429)
at oracle.apps.jtf.base.resources.Architecture.createAppsContext(Architecture.java:422)
at oracle.apps.jtf.base.resources.Architecture.createAppsContext(Architecture.java:330)
at oracle.apps.jtf.cache.ArchitectureWrapper.createAppsContext(ArchitectureWrapper.java:90)
at oracle.apps.jtf.cache.appsimpl.AppsCacheLogger.<clinit>(AppsCacheLogger.java:34)
at oracle.apps.jtf.cache.appsimpl.AppsCacheEnvironment.getCacheLogger(AppsCacheEnvironment.java:67)
at oracle.apps.jtf.cache.CacheManager.initCache(CacheManager.java:595)
at oracle.apps.jtf.cache.CacheManager.<clinit>(CacheManager.java:364)
at oracle.apps.jtf.cache.CacheAdmin.isComponentRegistered(CacheAdmin.java:314)
at oracle.apps.fnd.cache.Cache.registerCacheIfNeeded(Cache.java:119)
at oracle.apps.fnd.cache.Cache.initCache(Cache.java:110)
at oracle.apps.fnd.cache.Cache.<init>(Cache.java:88)
at oracle.apps.fnd.cache.AppsCache.<init>(AppsCache.java:87)
at oracle.apps.fnd.profiles.Profiles.<clinit>(Profiles.java:280)
at oracle.apps.fnd.profiles.ExtendedProfileStore.init(ExtendedProfileStore.java:482)
at oracle.apps.fnd.profiles.ExtendedProfileStore.<init>(ExtendedProfileStore.java:113)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at oracle.apps.fnd.common.AppsContext.instantiateProfileStore(AppsContext.java:3834)
at oracle.apps.fnd.common.AppsContext.makeProfileStore(AppsContext.java:942)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:825)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:807)
at oracle.apps.fnd.common.WebAppsContext.init(WebAppsContext.java:3484)
at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:537)
at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:346)
at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
at test_fwktutorial._jspService(test_fwktutorial.jsp:45)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
at java.lang.Thread.run(Thread.java:534)
[Feb 27, 2008 4:31:57 PM IST]:1204110117890:Thread[HttpRequestHandler-25086455,5,main]:-1:-1:sisatpat:9.182.220.120:-1:-1:UNEXPECTED:[fnd.common.logging.FileHandler.publish]:Please check File Permission/Disk Space for: /u01/VIS/FND.log, defaulting Logging to STDERR
Can any one help!!
Thanks,
Sid..Sid,
1) Check your using the correct version of Jdev with your instance.
Metalink note 416708.1 - How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12
Will give the mappings.
And check the Jdev setting
330236.1 - Configuring JDeveloper For Use With Oracle Applications 11i and R12
2) Instead of using the tutorial, create a sample page, Am and run the page.
Check what error you are getting.
Thanks.
With Regards,
Kali.
OSSI. -
How can I install WEB PL/SQL Generator?
When I running "Install Web PL-SQL Generator",I got the following errors:
Someone help me, please!
No errors.
No errors.
Package wsglm...
Input truncated to 11 characters
No errors.
Package wsgjsl...
No errors.
Package wsgfl...
No errors.
Package wsgl...
Warning: Package created with compilation errors.
Errors for PACKAGE WSGL:
LINE/COL ERROR
62/22 PLS-00201: identifier 'OWA.VC_ARR' must be declared
62/22 PL/SQL: Declaration ignored
63/22 PLS-00201: identifier 'OWA_TEXT.VC_ARR' must be declared
63/22 PL/SQL: Declaration ignored
Package body wsgjsl...
Warning: Package Body created with compilation errors.
Errors for PACKAGE BODY WSGJSL:
LINE/COL ERROR
280/7 PL/SQL: Statement ignored
311/53 PLS-00905: object OWNER.WSGL is invalid
334/7 PL/SQL: Statement ignored
344/17 PLS-00905: object OWNER.WSGL is invalid
472/7 PL/SQL: Statement ignored
493/31 PLS-00905: object OWNER.WSGL is invalid
813/10 PL/SQL: Statement ignored
813/22 PLS-00905: object OWNER.WSGL is invalid
828/10 PL/SQL: Statement ignored
828/22 PLS-00905: object OWNER.WSGL is invalid
843/10 PL/SQL: Statement ignored
843/22 PLS-00905: object OWNER.WSGL is invalid
852/10 PL/SQL: Statement ignored
852/22 PLS-00905: object OWNER.WSGL is invalid
861/10 PL/SQL: Statement ignored
861/22 PLS-00905: object OWNER.WSGL is invalid
884/10 PL/SQL: Statement ignored
884/22 PLS-00905: object OWNER.WSGL is invalid
960/3 PL/SQL: Statement ignored
960/15 PLS-00201: identifier 'HTF.ESCAPE_SC' must be declared
Package body wsgl...
Warning: Package Body created with compilation errors.
Errors for PACKAGE BODY WSGL:
LINE/COL ERROR
0/0 PL/SQL: Compilation unit analysis terminated
1/14 PLS-00905: object OWNER.WSGL is invalid
1/14 PLS-00304: cannot compile body of 'WSGL' without its
specification
Package body wsgfl...
No errors.
No errors.
No errors.
No errors.
Warning: Package Body created with compilation errors.
Errors for PACKAGE BODY WSGMC_OUTPUT1:
LINE/COL ERROR
49/4 PLS-00201: identifier 'HTP.P' must be declared
49/4 PL/SQL: Statement ignored
51/7 PLS-00201: identifier 'HTP.P' must be declared
51/7 PL/SQL: Statement ignored
53/10 PLS-00201: identifier 'HTP.P' must be declared
53/10 PL/SQL: Statement ignored
60/4 PLS-00201: identifier 'HTP.P' must be declared
60/4 PL/SQL: Statement ignored
Warning: Package Body created with compilation errors.
Errors for PACKAGE BODY WSGMC_OUTPUT2:
LINE/COL ERROR
36/13 PLS-00201: identifier 'HTP.P' must be declared
36/13 PL/SQL: Statement ignored
42/10 PLS-00201: identifier 'HTP.P' must be declared
42/10 PL/SQL: Statement ignored
48/13 PLS-00201: identifier 'HTP.P' must be declared
48/13 PL/SQL: Statement ignored
53/16 PLS-00201: identifier 'HTP.P' must be declared
53/16 PL/SQL: Statement ignored
59/13 PLS-00201: identifier 'HTP.P' must be declared
59/13 PL/SQL: Statement ignored
64/10 PLS-00201: identifier 'HTP.P' must be declared
64/10 PL/SQL: Statement ignored
70/13 PLS-00201: identifier 'HTP.P' must be declared
70/13 PL/SQL: Statement ignored
87/28 PLS-00201: identifier 'HTP.BR' must be declared
87/28 PL/SQL: Statement ignored
92/25 PLS-00201: identifier 'HTP.P' must be declared
92/25 PL/SQL: Statement ignored
99/13 PLS-00201: identifier 'HTP.P' must be declared
99/13 PL/SQL: Statement ignored
The following synonyms already exist. Please check that they are valid:
OWA
OWA_UTIL
OWA_COOKIE
OWA_IMAGE
OWA_INIT
OWA_OPT_LOCK
OWA_PATTERN
OWA_SEC
OWA_TEXT
HTP
HTF
CG$ERRORS
WSGL
WSGJSL
WSGLM
WSGFL
Webserver Generator Compilation Report
NAME TY LINE COL TEXT
WSGJSL PB 311 53 PLS-00905: object OWNER.WSGL is invalid
280 7 PL/SQL: Statement ignored
344 17 PLS-00905: object OWNER.WSGL is invalid
334 7 PL/SQL: Statement ignored
493 31 PLS-00905: object OWNER.WSGL is invalid
472 7 PL/SQL: Statement ignored
813 22 PLS-00905: object OWNER.WSGL is invalid
813 10 PL/SQL: Statement ignored
828 22 PLS-00905: object OWNER.WSGL is invalid
828 10 PL/SQL: Statement ignored
843 22 PLS-00905: object OWNER.WSGL is invalid
843 10 PL/SQL: Statement ignored
852 22 PLS-00905: object OWNER.WSGL is invalid
852 10 PL/SQL: Statement ignored
861 22 PLS-00905: object OWNER.WSGL is invalid
861 10 PL/SQL: Statement ignored
884 22 PLS-00905: object OWNER.WSGL is invalid
884 10 PL/SQL: Statement ignored
960 15 PLS-00201: identifier 'HTF.ESCAPE_SC' must be
declared
NAME TY LINE COL TEXT
WSGJSL PB 960 3 PL/SQL: Statement ignored
WSGL PA 62 22 PLS-00201: identifier 'OWA.VC_ARR' must be
CK declared
AG
E
62 22 PL/SQL: Declaration ignored
63 22 PLS-00201: identifier 'OWA_TEXT.VC_ARR' must be
declared
63 22 PL/SQL: Declaration ignored
PB 1 14 PLS-00905: object OWNER.WSGL is invalid
1 14 PLS-00304: cannot compile body of 'WSGL' without
its specification
0 0 PL/SQL: Compilation unit analysis terminated
nullHi,
Is necesary install XDB?
Because i have executed;
select * from dba_registry
where COMP_ID = 'XDB'
Oracle XML Database
Regards
Maybe you are looking for
-
File Content Conversion in Unix AIX
Hi all, the XI was migrate from Windows System to Unix AIX system. All process are running fine, but I have some file adapter with content conversion and Unix system are put the hexa char '0A' in the end/break of line and in the Windows System put th
-
Default house bank no proposal
we have some vendor code, which has default house bank JPMorgan in vendor master. now we are you using domestic payment method G to do citibank payment for those vendors, the invoice for those vendor is shown as due open item in fbl1n, but when i run
-
Only the trackball works!
And the trackball click feature doesn't work either. I can only scroll around with the trackball, but I can't use the trackball as a button. My blackberry can recieve calls and messages. The screen becomes activated when plugged into the charger or b
-
Can you restore a file you have saved over
I have saved over a >rtf file using the same name. can i restore the first file?
-
Need to automate resizing of 1000s of images
I have approximately 7000 images they are either 400 pixels tall or wide or 450 pixels tall or wide. This are product images and Amazon requires the images be 1000 pixels wide or tall. Is there a way to automate the process so PS recognizes longest s