Sample application not running.
Hi,
I have downloaded sample application from Oracle website. Name of sample application is "Servlet Session Management Sample Application". But i got the following error. I have unlocked the OE schema used in this sample application. Any solution for it.
javax.naming.NameNotFoundException: OE not found
at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:124)
at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:189)
at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:63)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at oracle.otnsamples.servlets.EditCart.getProducts(EditCart.java:139)
at oracle.otnsamples.servlets.EditCart.doPost(EditCart.java:115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:684)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
To provide a little context for the problem I am having:
I am following examples on how to use Essbase based on the book "Look Smarter Than You Are With Essbase" by Edward Roske and Tracy McMullen. I am new to Hyperion and Essbase, and am trying to learn about it and document what it can do. I used the the Sample Applicaiton, Basic database that came with the installation files and opened it in Excel by connecting to Essbase through Provider Services (all of this was done within Excel). The sample is based on a fictious company called The Beverage Company. I set-up a specific view that shows Sales of the Cola product in the East region, comparing the Actual sales with the Budget sales. The Sales of each city within East sum-up into a total for the East region. When I change the Sales in a specific city, like New York, I can successfully hit Submit Data (from the Hyperion menu within Excel), and then can see that it has been updated in the Essbase Administrative Services Console. However, when I try to calculate the data, throught Excel menu Hyperion > Calculation Options > Calculate (like the book says to do), I do not get the same result as the book says. Instead of updating the Total Sales for the East region, it reverts the data entry in the New York cell back to the original value. So essentially, any ability to enter in new data or change budget data, which is the purpose of Planning, is non-functional if I cannot get the Calculate the data I change. Have other people tried to do a similiar task of updating cell data in Excel and calculate it? If so, were the results successful?
Similar Messages
-
Finder got an error. Application not running (-600)
I have a LaunchAgent that calls a shell script, at login. The shell script runs and determines the users AD container and then will runn the correct applescript application depending on the AD Container. The applescript applications simply mount up the users network volumes, runs a few do shell scripts and then exits.
It works and has been working for quite some time, under 10.5.x, 10.6.x, 10.7.x and even 10.8.x. But I have started getting a few users who are getting a rather odd message in the logs that the script creates and I can't really find anything on the error message.
"Finder got an error. Application not running (-600)"
If I log the user in and run the following at the command line:
launchctl unload name.of.plist
It will unload the launchagent.
If I type this at the commane line:
launchctl load name.of.plist
It works perfectly. No errors.
I can manually run the shell script it calls and that works fine.
I can also manually double click the apps and those run fine.
I've changed the permissions, I've recopied, re-imaged, but I can not figure out why the script won't sometimes and gives me that error message.
Has anyone seen this error message before and what I can try to do to fix it?
Thank you in advanced.This sounds like a typical race condition, and it's impossible to solve without seeing the script.
The issue is that your script is targetting some application that isn't available. Ordinarily AppleScript will launch an application if it's not already running, but during launch it's possible that your script is trying to target an application before it can be launched (because the user's envirnment is still loading).
So you need to look at the script to see what it's doing, and what apps it's targeting. The fix might be as simple as adding a few delays to allow the system to finish logging in, but t's hard to say without more data. -
Javaee6 sample does not run on remote GF 3.1
I installed javaee6 with samples:
java_ee_sdk-6u2-jdk-linux-x64-ml.sh
I can run "automatic-timer" sample properly, when GF 3.1 runs on localhost.
If GF 3.1 runs on a remte host.
I set the remote GF 3.1 in bp-project/build.properties:
javaee.server.name=192.168.1.101
Now automatic-timer sample does not run:
[java] Waiting for the timer to expire
[java] Logged timeouts :
[java] org.omg.CORBA.COMM_FAILURE: FINE: IOP00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700 vmcid: OMG minor code: 1 completed: No
[java] at sun.reflect.GeneratedConstructorAccessor30.newInstance(Unknown Source)
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
[java] at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
[java] at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
[java] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:387)
[java] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$400(WrapperGenerator.java:107)
[java] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:511)
[java] at com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
[java] at $Proxy26.connectFailure(Unknown Source)
[java] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:257)
[java] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:270)
[java] at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:129)
[java] at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:223)
[java] at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:228)
[java] at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:393)
[java] at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
[java] at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
[java] at com.sun.enterprise.naming.impl.SerialContext$ProviderCacheKey.getNameService(SerialContext.java:1241)
[java] at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:411)
[java] at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:347)
[java] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:504)
[java] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
[java] at javax.naming.InitialContext.lookup(InitialContext.java:392)
[java] at enterprise.automatic_timer_client.AutomaticTimerJavaClient.getRecords(AutomaticTimerJavaClient.java:64)
[java] at enterprise.automatic_timer_client.AutomaticTimerJavaClient.main(AutomaticTimerJavaClient.java:53)
[java] Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused
[java] at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:340)
[java] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:242)
[java] ... 15 more
[java] Caused by: java.net.ConnectException: Connection refused
[java] at sun.nio.ch.Net.connect(Native Method)
[java] at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)
[java] at com.sun.corba.ee.impl.orbutil.ORBUtility.openSocketChannel(ORBUtility.java:110)
[java] at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:325)
[java] ... 16 more
[java] javax.naming.NamingException: Lookup failed for 'java:global/automatic-timer-ejb/StatelessSessionBean' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl} [Root exception is javax.naming.NamingException: Unable to acquire SerialContextProvider for SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl} [Root exception is org.omg.CORBA.COMM_FAILURE: FINE: IOP00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700 vmcid: OMG minor code: 1 completed: No]]
[java] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:518)
[java] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
[java] at javax.naming.InitialContext.lookup(InitialContext.java:392)
[java] at enterprise.automatic_timer_client.AutomaticTimerJavaClient.getRecords(AutomaticTimerJavaClient.java:64)
[java] at enterprise.automatic_timer_client.AutomaticTimerJavaClient.main(AutomaticTimerJavaClient.java:53)
[java] Caused by: javax.naming.NamingException: Unable to acquire SerialContextProvider for SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl} [Root exception is org.omg.CORBA.COMM_FAILURE: FINE: IOP00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700 vmcid: OMG minor code: 1 completed: No]
[java] at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:352)
[java] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:504)
[java] ... 4 more
[java] Caused by: org.omg.CORBA.COMM_FAILURE: FINE: IOP00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700 vmcid: OMG minor code: 1 completed: No
[java] at sun.reflect.GeneratedConstructorAccessor30.newInstance(Unknown Source)
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
[java] at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
[java] at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
[java] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:387)
[java] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$400(WrapperGenerator.java:107)
[java] at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:511)
[java] at com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
[java] at $Proxy26.connectFailure(Unknown Source)
[java] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:257)
[java] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:270)
[java] at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:129)
[java] at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:223)
[java] at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:228)
[java] at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:393)
[java] at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
[java] at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
[java] at com.sun.enterprise.naming.impl.SerialContext$ProviderCacheKey.getNameService(SerialContext.java:1241)
[java] at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:411)
[java] at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:347)
[java] ... 5 more
[java] Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused
[java] at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:340)
[java] at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:242)
[java] ... 15 more
[java] Caused by: java.net.ConnectException: Connection refused
[java] at sun.nio.ch.Net.connect(Native Method)
[java] at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)
[java] at com.sun.corba.ee.impl.orbutil.ORBUtility.openSocketChannel(ORBUtility.java:110)
[java] at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:325)
[java] ... 16 more
[java] Exception in thread "main" java.lang.NullPointerException
[java] at enterprise.automatic_timer_client.AutomaticTimerJavaClient.main(AutomaticTimerJavaClient.java:54)
Why does it use localhost instead of 192.168.1.106 ?
How can I run the sample against a remote GF 3.1 ?
Thank youI got solution:
Re: Can't access remote EJBs (GF3.1)
I followed the instructions from http://www.java.net/node/676636
and changed "/etc/hosts" file:
1) commented out the "internal" IP addresses in the first two lines
2) and added a the external IP address
#127.0.0.1 localhost
#127.0.1.1 lennyserver
192.168.0.202 lennyserver
The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Now the InitialContext.lookup() can find the bean. -
Sample application not working in iAS6.5
I am using iAS6.5 and iWS6.0. The provided sample application HelloWorld do not work for my case.
After deploying the application and using the URL http://myhost/NASApp/helloworld/index.html
The Result is
********Browser Output*********
GX Error (GX2GX)
socket result code missing!!!
*********iAS output**********************************************
[07/Aug/2002 22:29:17:9] info: NSAPICLI-009: plugin reqexit: 0s+.132s. (-908962816)
[07/Aug/2002 22:31:11:8] info: NSAPICLI-012: plugin reqstart, tickct: -501276465
[07/Aug/2002 22:31:12:3] info: PROT-006: new connection established
[07/Aug/2002 22:31:14:3] info: NSAPICLI-009: plugin reqexit: 2s+.47043s. (-492433444)
[07/Aug/2002 22:31:33:6] info: NSAPICLI-012: plugin reqstart, tickct: -423260265
[07/Aug/2002 22:31:33:6] warning: UTIL-013: GXGUID: NameTrans lookup failed (Applogic Servlet System_StaticServlet)
[07/Aug/2002 22:31:33:6] warning: NSAPICLI-011: socket result code missing!!!
[07/Aug/2002 22:31:33:6] info: NSAPICLI-009: plugin reqexit: 0s+.135s. (-423255431)
if I move the index.html to the webserver physically and run this URL
http://myhost/ias-samples/helloworld/docs/index.html
The sample application works fine.
Any explanation why the provided sample application don't work ?
I do not have this problem when using iAS6.0 and iWS4.1.
Thank youHelp, anyone. I have tried deploying the application using both the command line method and the tool provided. The result are the same. I emphasis, I have used iAS6.5 and iWS6.0 to try the sample helloworld application. And I have not problem trying the application with iAS6.0 and iWS4.1.
I am using iAS6.5 and iWS6.0. The provided sample
application HelloWorld do not work for my case.
After deploying the application and using the URL
http://myhost/NASApp/helloworld/index.html
The Result is
********Browser Output*********
GX Error (GX2GX)
socket result code missing!!!
*********iAS
output**********************************************
[07/Aug/2002 22:29:17:9] info: NSAPICLI-009: plugin
reqexit: 0s+.132s. (-908962816)
[07/Aug/2002 22:31:11:8] info: NSAPICLI-012: plugin
reqstart, tickct: -501276465
[07/Aug/2002 22:31:12:3] info: PROT-006: new
connection established
[07/Aug/2002 22:31:14:3] info: NSAPICLI-009: plugin
reqexit: 2s+.47043s. (-492433444)
[07/Aug/2002 22:31:33:6] info: NSAPICLI-012: plugin
reqstart, tickct: -423260265
[07/Aug/2002 22:31:33:6] warning: UTIL-013: GXGUID:
NameTrans lookup failed (Applogic Servlet
System_StaticServlet)
[07/Aug/2002 22:31:33:6] warning: NSAPICLI-011:
socket result code missing!!!
[07/Aug/2002 22:31:33:6] info: NSAPICLI-009: plugin
reqexit: 0s+.135s. (-423255431)
if I move the index.html to the webserver physically
and run this URL
http://myhost/ias-samples/helloworld/docs/index.html
The sample application works fine.
Any explanation why the provided sample application
don't work ?
I do not have this problem when using iAS6.0 and
iWS4.1.
Thank you -
Sample application not working
hi,
i am a newbie to javawebstart.. i have 2 questions
1) i downloaded the sample application from the net
( http://java.sun.com/developer/releases/javawebstart/) and was trying the "LibInstaller" sample.. i have been able to run step 1 (ant main : creates intially war file) and step 2(keystore and signing)... but step 3 seems to have some problem..i try to make the war file using command jar -cvf ../Libinstaller.war but get this error message:
C:\javawebstart\webstart_examples\Libinstaller\war>jar -cvf C:\javawebstart\webs
tart_examples\Libinstaller\Libinstaller.war
'c' flag requires that input files be specified!
Usage: jar {ctxu}[vfm0Mi] [jar-file] [manifest-file] [-C dir] files ...
Options:
-c create new archive
i don't know which option i should be using because it just seems to overwrite the previous unsigned war file and is empty (1KB only) .. and by the way which of the samples given is working ok if the steps in the readme is followed accordingly??
2) Another question is if i want to deploy an application using webstart, for e.g can i just replace the inst.jar file by my "source.jar" file and rename to inst.jar (for a start so that i don't have to change the inst.java file initially) and change the inst.jnlp (application desc main to specify the main class)???
Thanks in advance..hi,
issue 1 has been resolved. the sample program is working fine.. just missed '.' in step 3 during war file creation.
as for issue 2, i require my swing application to be updated automatically at the client end if a new version is available at the server side. so i am thinking of using java webstart to check whether a recent source.jar file is available. so for a start, what i am trying is to replace the inst.jar file by my source.jar file in the sample application.... renaming it to inst.jar file and changing the inst.jnlp to indicate the mainclass.. any suggestions..
thanx.. -
App store and applications not running correctly on the 4GS
I upgraded my iphone last night from the 4G to the 4GS, I downloaded all of the updates and the back up. today my phone is very slow, the APP store will not load, and other applications are running very slow or will not open. I have rebooted my phone, deleted apps such as netflix and face book re downloaded, earlier was able to, now I cannot. Does anyone have any suggestions, wondering why I upgraded my phone??????
See [[Installing a previous version of Firefox]]
If you are going to use Firefox 3.0, you should try the last version 3.0.19 rather than 3.0.1 -
Sample Applications not compiling
I've installed Flex Builder Beta 3 for the first time and am
trying to use the Shirt Designer sample application but it will not
work. First it gives me errors about transcoding all of the fonts
in the folder and when the application does display in the browser
I just see a page with a gradient, no actual application. I've
followed the installation instructions very closely so I was
wondering if someone else had an idea of what might be wrong.
Thanks a lot. Hopefully this will be the beginning of a long-term
development love affair with Flex.
Cheers.If you have not created any applications yet what you could try is:
stop essbase, copy the applications from
<drive>:\Oracle\Middleware\EPMSystem11R1\products\Essbase\EssbaseServer\app
to
<drive>:\Oracle\Middleware\user_projects\<instancename>\EssbaseServer\essbaseserver1\app
rename ESSBASE.SEC in <drive>:\Oracle\Middleware\user_projects\<instancename>\EssbaseServer\essbaseserver1\bin
^ you might get away without having to rename the sec file, try it first without renaming, if it doesnt work try it with renaming.
start essbase
Cheers
John
http://john-goodwin.blogspot.com/ -
Error in the sample application notes
Hi,
I am trying to download the sample application demonstrating the usage of group in OID, at the following link.
http://www.oracle.com/technology/sample_code/products/id_mgmt/javaapi/samplegroup/readme.html#configure
However, I am unable to find the link, wherein I can download the application.
Please help!
thanks in advance.Hi,
have you checked transaction SM13?
if so, what information have you got there?
Best regards.
Edited by: Pablo Casamayor on Sep 30, 2011 3:33 PM -
Scripts in VPD demo/sample does not run
Hi,
I am trying to run the VPD sample in an alpha server runing Oracle9i on TRUE64 UNIX.
When i run the "create_context_package.sql" i got some error messages.
The user_id in the following cause the error.
SELECT customer_id INTO This_Persons_Id
FROM customers
WHERE user_id = SYS_CONTEXT('USERENV','SESSION_USER');
The scripts are also listed following, it is from technet.oracle.com,
CONNECT Oe/[email protected];
CREATE OR REPLACE PACKAGE BODY Context_Package IS
PROCEDURE Set_Context IS
This_Persons_Id NUMBER;
BEGIN
/* Record the fact that we are setting up a users context */
/* We do this as we need to look up the user in the employee */
/* table when they log on, and we do not want the employee */
/* security policy to interfere with this lookup */
Dbms_Session.Set_Context('OE','SETUP','TRUE');
IF SUBSTR(SYS_CONTEXT('USERENV','SESSION_USER'),1,2)='CU'
THEN
/* If User is a customer, check to see if they have been */
/* given access */
BEGIN
Dbms_Session.Set_Context('OE','ROLE', 'EXTERNAL');
SELECT customer_id INTO This_Persons_Id
FROM customers
WHERE user_id = SYS_CONTEXT('USERENV','SESSION_USER');
Dbms_Session.Set_Context('OE','PERSONS_ID', This_Persons_Id);
EXCEPTION
WHEN NO_DATA_FOUND THEN
/* Customer has no access, so set a dummy id */
Dbms_Session.Set_Context('OE','PERSONS_ID', 0);
END;
ELSE
BEGIN
/* User is not a customer, therefore they must be an employee*/
/* Set their Employee Id */
Dbms_Session.Set_Context('OE','ROLE', 'INTERNAL');
SELECT Employee_Id INTO This_Persons_Id
FROM Employees
WHERE User_Id = SYS_CONTEXT('USERENV','SESSION_USER');
Dbms_Session.Set_Context('OE','PERSONS_ID', This_Persons_Id);
EXCEPTION
WHEN NO_DATA_FOUND THEN
/* No Employee Id found, set a dummy Id */
Dbms_Session.Set_Context('OE','PERSONS_ID', 0);
END;
END IF;
Dbms_Session.Set_Context('OE','SETUP','FALSE');
END Set_Context;
END Context_Package;
SHOW ERRORS
BTW, I am not sure if i need OID for VPD or for this example. Thanks for any help, tip, or reading document.
TIMI got solution:
Re: Can't access remote EJBs (GF3.1)
I followed the instructions from http://www.java.net/node/676636
and changed "/etc/hosts" file:
1) commented out the "internal" IP addresses in the first two lines
2) and added a the external IP address
#127.0.0.1 localhost
#127.0.1.1 lennyserver
192.168.0.202 lennyserver
The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Now the InitialContext.lookup() can find the bean. -
Flex 4.5 mxml based application not running after iOS packaging on i pad
I have created one mxml based application on flex 4.5 and make the .ipa file by iOS packaging of adt command.The command goes as followes
adt -package -target ipa-debug -storetype pkcs12 -keystore development_key.p12 -provisioning-profile flex_air.mobileprovision testIphone.ipa testIphone-app.xml testIphone.swf
The .ipa files are generated in the root folder of the C:\Program Files\Adobe\Adobe Flash Builder 4.5\sdks\4.5.0\bin folder.
But when I am running that file in Ipad it is not working.Cant install that application on Ipad.
Can anybody have any solution for this??Hi Debarghya:
As you mention "Cant install that application on Ipad." I am assuming that you can't get it on your iPad if that is the case. There are two things you should check.
1. Does your mobileprovision has your device added to it, on iTunes portal?
2. Make sure the id tag in testIphone-app.xml matches with your application identifier for which you created this provision and certificate on iTunes portal.
If the problem is that application is installed on your iPad. But when you launch you see black screen forever or application closes automatically to take you to home screen.
1. try with -target ipa-debug-interpreter instead of -target ipa-debug and see if application starts and post your findings back. -
Applications not running after upgrade
I upgraded to 10.6.6 from 10.5.8. All seemed well until I tried to open Aperture 3.0. Aperture, which is my lifeline, will not start. The icon jumps up and down in the dock and then I finaqlly get a error message that says it is not compatible, contact the developer or try reinstalling. I tried reinstalling, restatred and the same problem persists. I have a BU of my Aperture vault, but not of my entire 10.5.8. I very much need to get aperure running for client images. Any ideas or suggestions for fixes would be welcomed. Reading all the issues associated with 10.6.6 is Apple going to be putting out a fix soon?
Here is what did the trick for me if others are having the same problem:
Open the Applications folder.
Drag the Aperture application to the Trash.
Open the Utilities folder within the Applications folder.
Open the Terminal application.
On the command line, type the below command (which is case-sensitive) and then press Return:
*sudo pkgutil --forget com.apple.pkg.Aperture*
When prompted, enter your user password and press Return.
Insert your Aperture disc and install Aperture.
When finished, choose Software Update from the Apple () menu to update your software to the latest version. -
EJB Hotel Sample Application - error running client
Hi
I am trying to run the GUI client interface in the EJB Hotel Enquiry and Reservation Application (using a single EJB). I have deployed the EJB jar file and had no errors but when I run the GUI client I get the following error whilst trying to read the list of hotels:
Error while invoking EJB procedure :RemoteException :
com.evermind.server.rmi.OrionRemoteException: Invocation error: java.lang.NoSuchMethodException; nested exception is:
java.lang.NoSuchMethodException
Could anyone please suggest where to start looking ?
TIA
TrevorHi,
I am able to run this sample successfully. Can you try bouncing OC4J and then run the client application again ? Let me ]
know if that works.
Cheers,
--Rajesh -
Barcode sample cound not run in 9ias
Oraclebarcode.jar Doesn't work on webserver
I have downloaded the example on how to print a barcode using the oraclebarcode.jar in 9i. It works on my local install of the reportserver(devloper9i), but when I move it out to the webserver(9ias), it doesn't work. It gives this error:
Terminated with error: <br>REP-771: 'beforereport': Fatal PL/SQL error occurred. ORA-39565: Message 39565 not found; product=RDBMS; facility=ORA
the beforreport trigger code below
globals.barcode_to_use:=BarCodeConstants.BAR_CODE_128;
The jar file is in the reports_classpath, as well as the report. What else to try????Hello Yong,
Are you using JSP or Paper Layout ?
For JSP, you need to add the jar file to your OC4J environment to do that you can update the server.xml, application.xml (global for all applications in $OC4J_home/config) or orion-application.xml (local to your application, in $OC4J_home/application-deploymnent/<appName>) file and add this entry:
<library parth="<path to >/oraclebarcode.jar">
If you are using paper layout, with in process server, you need to modify your report server configuration file to add the jar file to your Report Engine class path: (this file is in $report_home/conf/rep_<server>.conf)
look for <engine id=rwEng ....
and add this attribute ... classPath="<path to >/oraclebarcode.jar" ...
If you have some problem with memory consumption you can also add some jvm parameter using another attribute
... jvmoption="-Xmx128M" ... (Mmx maximum memory size)
Regards
Tugdual -
Barcode sample could not run in 9ias
Oraclebarcode.jar Doesn't work on webserver
I have downloaded the example on how to print a barcode using the oraclebarcode.jar in 9i. It works on my local install of the reportserver(devloper9i), but when I move it out to the webserver(9ias), it doesn't work. It gives this error:
Terminated with error: <br>REP-771: 'beforereport': Fatal PL/SQL error occurred. ORA-39565: Message 39565 not found; product=RDBMS; facility=ORA.
the beforreport trigger code below
globals.barcode_to_use:=BarCodeConstants.BAR_CODE_128;
The jar file is in the reports_classpath, as well as the report. What else to try????Hello Yong,
Are you using JSP or Paper Layout ?
For JSP, you need to add the jar file to your OC4J environment to do that you can update the server.xml, application.xml (global for all applications in $OC4J_home/config) or orion-application.xml (local to your application, in $OC4J_home/application-deploymnent/<appName>) file and add this entry:
<library parth="<path to >/oraclebarcode.jar">
If you are using paper layout, with in process server, you need to modify your report server configuration file to add the jar file to your Report Engine class path: (this file is in $report_home/conf/rep_<server>.conf)
look for <engine id=rwEng ....
and add this attribute ... classPath="<path to >/oraclebarcode.jar" ...
If you have some problem with memory consumption you can also add some jvm parameter using another attribute
... jvmoption="-Xmx128M" ... (Mmx maximum memory size)
Regards
Tugdual -
My R12 application not run in EI
am trying to run oracle application, i successfully logon but when i go next step give me error which i attach plz help
Could you please elaborate more? What page you cannot access? Are you able to login to OA main page? Can you access the page with the list of responsibilities?
Maybe you are looking for
-
Query to show which PO is related to Which Grn
Hi expert i need to a query report to identify that which PO is linked to which GRN. could u pls tell me which and all table do we need to consider and which and all fields do we need to inner join for creating the query Regards
-
How to...download the SVG Graph in PDF format or Email it
I have generated a line chart using SVG Graph, I need to download it in PDF format and email it. Please help, How do I do that ?
-
Female apple 30-pin to male micro usb cord?
I've heard some rumors about the new iPhone 5 having a microusb port instead of the standard 30 pin, and I got a bit worried since I have a nice new iHome and some other accessories that I'd be sad to lose. I have only an iPod touch currently, so thi
-
hi, i purchased 4S at paris (sfr) and got back to india without deblocking the phone. how to activate the phone in india ? Till date it has not been possible. Need assistance thanks unnikrishnan
-
Negative Planned Values in CJ40
Dear Guru's, i am getting negative planned values in CJ40 against Order/Network column. I am unable to find the root of this value. Here i am using the network costing, BOM's and MRP run process. So can any one tell me how to find the root of that ne