How to run an embedded broker?
I want to start an embedded OpenMQ broker to use as a destination for messages which are sent as part of a test run by Maven. Essentially I want a broker to be started within the same JVM when the tests are run so I don't have to insure that a broker is available before running the tests. Is this possible, and if so how would I configure it in a Spring application? Now I am starting my broker using a connection factory which uses the port and user/password of a broker which is already running on my local machine. I am not using a broker which runs as part of Glassfish, I want to run OpenMQ broker outside of Glassfish.
Thanks in advance for any suggestions.
--James
Thanks Tom. I used to do this before with ActiveMQ and I was assuming that it could also be done with OpenMQ outside of Glassfish. The approach you have described is what I'm doing now. I guess I could set up my tests to use an embedded ActiveMQ broker for testing and then switch to OpenMQ when deploying the application within Glassfish.
--James
Similar Messages
-
How can I enable embedded pl/sql gateway to run on port 80
I have a new 11G install on OEL 4.0, database created. I would like to be
able to access the instance using the pl/sql gateway. Works fine with
port 8080, the default. How to I enable it to run on port 80?
I found this statement in the following docuementation:
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb22pro.htm#ADXDB2500
Using HTTP(S) on Nonstandard Ports
By default, HTTP listens on a nonstandard, unprotected port: 8080. To use HTTP(S) on
the standard port, such as 80, your DBA must chown the TNS listener to setuid ROOT
rather than setuid ORACLE, and configure the port number in the Oracle XML DB
configuration file /xdbconfig.xml.I have root priviledges on the box.
I've tried setting the listener file permissions:
chown root:dba /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr
chmod 6775 /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr
Also put root in the dba group.
The permissions turn out like this:
-rwsr-sr-x 1 root dba 830854 Jun 17 21:04 /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr
I stopped the listener, bounced the database, and started the listener again.
But it still shows the process being owned by oracle:
oracle 29682 1 0 21:08 ? 00:00:00 /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr LISTENER -inherit
Changing the port is easy:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SYS>select dbms_xdb.gethttpport as "HTTP-Port" , dbms_xdb.getftpport as "FTP-Port" from dual;
HTTP-Port FTP-Port
8080 2100
At this point, I can access the apex home page with the following url:
http://hostname:8080/apex/f?p=4550:10:1454849288245548
I can than change it to port 80:
SYS>begin
dbms_xdb.sethttpport('80');
dbms_xdb.setftpport('2100');
end;
2 3 4 5
PL/SQL procedure successfully completed.
SYS>SYS>select dbms_xdb.gethttpport as "HTTP-Port" , dbms_xdb.getftpport as "FTP-Port" from dual;
HTTP-Port FTP-Port
80 2100
When I try to access apex with the following url:
http://rmdcopslnx1.us.oracle.com/apex/f?p=4550:10:1454849288245548
I get the following:
Failed to Connect
Firefox can't establish a connection to the server at hostname.com.
Though the site seems valid, the browser was unable to establish a connection.
* Could the site be temporarily unavailable? Try again later.
* Are you unable to browse other sites? Check the computer's network connection.
* Is your computer or network protected by a firewall or proxy? Incorrect settings
* can interfere with Web browsing.I can set the port. Just can't talk to it.
This is the entry from the listener log:
<msg time='2008-07-03T15:40:09.741-06:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='hostname'
host_addr='xxx.xxx.xxx.xxx'>
<txt>TNS-12546: TNS:permission denied
TNS-12560: TNS:protocol adapter error
TNS-00516: Permission denied
Linux Error: 13: Permission denied
</txt>
</msg>
So this looks like an permissions problem. But where? I posted
this on the apex forum here:
Re: How can I enable embedded pl/sql gateway to run on port 80
They suggested asking here.No, that thread did not provide the information that I need. Some more data:
I have the port set to 8080:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SYS>select dbms_xdb.gethttpport as "HTTP-Port" , dbms_xdb.getftpport as "FTP-Port" from dual;
HTTP-Port FTP-Port
8080 2100
At this point, I can access the apex home page with the following url:
http://hostname:8080/apex/f?p=4550:10:1454849288245548
I can than change it to port 80:
SYS>begin
dbms_xdb.sethttpport('80');
dbms_xdb.setftpport('2100');
end;
2 3 4 5
PL/SQL procedure successfully completed.
SYS>SYS>select dbms_xdb.gethttpport as "HTTP-Port" , dbms_xdb.getftpport as "FTP-Port" from dual;
HTTP-Port FTP-Port
80 2100
When I try to access apex with the following url:
http://rmdcopslnx1.us.oracle.com/apex/f?p=4550:10:1454849288245548
I get the following:
Failed to Connect
Firefox can't establish a connection to the server at hostname.com.
Though the site seems valid, the browser was unable to establish a connection.
* Could the site be temporarily unavailable? Try again later.
* Are you unable to browse other sites? Check the computer's network connection.
* Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing.
I can set the port. Just can't talk to it. -
How to run (user)config.xml to add Fonts in embedded FOP 020.5 with PDF
Hi,
we are having problems with showing certain PDF characters, resulting in # (ÂăãÆæßČč¢ results in Â#ãÆæß##¢).
Within the (user)config.xml you can add Fonts, see code, but how to run it from the XSQLFOPSerializer ????.
We copied the Arial Window fonts to Linux.
I tried several things but nothing worked, see code:
* Tested with the FOP 0.20.3RC release from 19-Jan-2002
public class XSQLFOPSerializer implements XSQLDocumentSerializer {
private static final String PDFMIME = "application/pdf";
public void serialize(Document doc, XSQLPageRequest env) throws Throwable {
try {
// First make sure we can load the driver
Driver FOPDriver = new Driver();
Logger logger = new ConsoleLogger(ConsoleLogger.LEVEL_DEBUG); // ipv. INFO
MessageHandler.setScreenLogger(logger);
FOPDriver.setLogger(logger);
// Some of FOP's messages appear to still use MessageHandler.
// MessageHandler.setOutputMethod(MessageHandler.NONE);
// Then set the content type before getting the reader/
env.setContentType(PDFMIME);
+// Tried the following, but does not work !!!!+
+// String userConfig = "/u02/gba/tent/userconfig.xml";+
+// File userConfigFile;+
+// userConfigFile = new File(userConfig);+
+// Options options = new Options();+
+// options.loadUserconfiguration(userConfigFile);+
FOPDriver.setOutputStream(env.getOutputStream());
FOPDriver.setRenderer(FOPDriver.RENDER_PDF);
FOPDriver.render(doc);
} catch (Exception e) {
e.printStackTrace(System.err);
__userconfig.xml__
// <entry>
// <key>fontBaseDir</key>
// <value>/usr/share/fonts/ttf</value>
// </entry>
//<fonts>
// <font metrics-file="arial.xml" kerning="yes" embed-file="arial.ttf">
// <font-triplet name="Arial" style="normal" weight="normal"/>
// <font-triplet name="ArialMT" style="normal" weight="normal"/>
// </font>
// <font metrics-file="arialb.xml" kerning="yes" embed-file="arialb.ttf">
// <font-triplet name="Arial" style="normal" weight="bold"/>
// <font-triplet name="ArialMT" style="normal" weight="bold"/>
// </font>
// <font metrics-file="ariali.xml" kerning="yes" embed-file="ariali.ttf">
// <font-triplet name="Arial" style="italic" weight="normal"/>
// <font-triplet name="ArialMT" style="italic" weight="normal"/>
// </font>
// <font metrics-file="arialbi.xml" kerning="yes" embed-file="arialbi.ttf">
// <font-triplet name="Arial" style="italic" weight="bold"/>
// <font-triplet name="ArialMT" style="italic" weight="bold"/>
// </font></fonts>
//</configuration>
Keywords:
FOP 020.5
XML2HTML / PDF
XSQLFOP
Embedded in ADF (fop.jar)
LinuxUser,
[url http://xmlgraphics.apache.org/fop/maillist.html]here is a link to the Apache FOP mailing lists.
John -
OpenMQ embedded broker in Maven JUnit
I have standalone application wich interacts with OpenMQ through JMS. Maven build tool is used. I want to write JUnit tests checking application interaction with OpenMQ. For this purpose I want to use OpenMQ embedded broker. I found https://mq.dev.java.net/4.4-content/embedded-example.html guide. With minor changes I implemented embedded broker. But it's not work as described in guide.
At first it appear to me that it cann't create necessary directories and I've added
new File("target/openmq/var/instances/imqbroker").mkdirs();
but later I understood that for some reason it's not creating directories and files which should create itself.
I browsed the sources code and found, that Broker.start() method return value ignored during embedded broker creation. It seems to be a bug.
I receive broker event 'READY : Broker has been started' but actually it don't starts and jms port 7676 close.
Please, look at my code and tell me what's wrong with it?
Application can be downloaded from this thread: http://forums.java.net/jive/thread.jspa?messageID=482904񵹘 .
Direct link: http://forums.java.net/jive/servlet/JiveServlet/download/56-153207-482904-13987/openmqtest.zip
To start build process put libraries defined in lib/dir.txt from OpenMQ distribution to project lib directory. Then use
mvn clean package
Here is the output:
Running bulatnig.openmqtest.EmbeddedBrokerTest
[16/сен/2010:09:04:03 MSD] WARNING [B2001]: Unable to load default property file /home/bulat/IdeaProjects/glassjmstest/openmqtest/target/openmq/lib/props/broker/default.properties:
java.io.FileNotFoundException: /home/bulat/IdeaProjects/glassjmstest/openmqtest/target/openmq/lib/props/broker/default.properties (No such file or directory)
[16/сен/2010:09:04:03 MSD] ERROR [B3001]: Defaulting to use the fallback properties. The Broker will only run in a minimal configuration using these settings. Fallback properties are being used because the defaults.property files could not be loaded. Please check the value of IMQ_HOME
[16/сен/2010:09:04:03 MSD]
================================================================================
Open Message Queue 4.5
Oracle
Version: 4.5 (Build 10-f)
Compile: Wed Jun 16 23:23:56 PDT 2010
Copyright (c) 2010 Sun Microsystems, Inc. All rights reserved. Use is
subject to license terms.
================================================================================
Java Runtime: 1.6.0_20 Sun Microsystems Inc. /usr/lib/jvm/java-6-sun-1.6.0.20/jre
[16/сен/2010:09:04:03 MSD] IMQ_HOME=/home/bulat/IdeaProjects/glassjmstest/openmqtest/target/openmq
[16/сен/2010:09:04:03 MSD] IMQ_VARHOME=/home/bulat/IdeaProjects/glassjmstest/openmqtest/target/openmq/var
[16/сен/2010:09:04:03 MSD] Linux 2.6.32-24-generic amd64 nigmatullin (2 cpu) bulat
[16/сен/2010:09:04:03 MSD] Java Heap Size: max=449664k, current=30336k
[16/сен/2010:09:04:03 MSD] Arguments: -imqhome target/openmq
[16/сен/2010:09:04:03 MSD] Embedded Broker
[16/сен/2010:09:04:03 MSD] ERROR [B3086]: The broker got an exception when trying to acquire the lock file:
null/instances/imqbroker/lock
java.io.IOException: No such file or directory
The lock file may be corrupted, or there may be a permission problem
with the lock file or the directory that contains the lock file.
If you are certain no other copy of the broker is running with the
instance name "imqbroker" then you may remove the lock file and
try starting the broker again.:
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:883)
at com.sun.messaging.jmq.jmsserver.util.LockFile.getLock(LockFile.java:113)
at com.sun.messaging.jmq.jmsserver.Broker._start(Broker.java:798)
at com.sun.messaging.jmq.jmsserver.Broker.start(Broker.java:412)
at com.sun.messaging.jmq.jmsserver.BrokerProcess.start(BrokerProcess.java:219)
at com.sun.messaging.jmq.jmsserver.DirectBrokerProcess.start(DirectBrokerProcess.java:87)
at com.sun.messaging.jmq.jmsclient.runtime.impl.BrokerInstanceImpl.start(BrokerInstanceImpl.java:144)
at bulatnig.openmqtest.EmbeddedBrokerTest.startServer(EmbeddedBrokerTest.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Received broker event:READY : Broker has been started
Edited by: bulatka on Sep 15, 2010 10:37 PMI changed arguments to:
-imqhome target/openmq -libhome /home/bulat/desktop/MessageQueue4_4/mq/lib
Build Failed:
<testcase time="0" classname="bulatnig.openmqtest.EmbeddedBrokerTest" name="bulatnig.openmqtest.EmbeddedBrokerTest">
<error message="com/sun/messaging/jms/management/server/ClusterNotification" type="java.lang.NoClassDefFoundError">java.lang.NoClassDefFoundError: com/sun/messaging/jms/management/server/ClusterNotification
at com.sun.messaging.jmq.jmsserver.management.agent.Agent.loadAllMBeans(Agent.java:671)
at com.sun.messaging.jmq.jmsserver.management.agent.Agent.loadMBeans(Agent.java:628)
at com.sun.messaging.jmq.jmsserver.Broker._start(Broker.java:1385)
at com.sun.messaging.jmq.jmsserver.Broker.start(Broker.java:412)
at com.sun.messaging.jmq.jmsserver.BrokerProcess.start(BrokerProcess.java:219)
at com.sun.messaging.jmq.jmsserver.DirectBrokerProcess.start(DirectBrokerProcess.java:87)
at com.sun.messaging.jmq.jmsclient.runtime.impl.BrokerInstanceImpl.start(BrokerInstanceImpl.java:144)
at bulatnig.openmqtest.EmbeddedBrokerTest.startServer(EmbeddedBrokerTest.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: java.lang.ClassNotFoundException: com.sun.messaging.jms.management.server.ClusterNotification
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 28 more
</error>
</testcase>
I added imqjmx to project dependencies: project builds without errors.
The next question: is it possible start embedded broker without OpenMQ locally installed? Which libraries should I put in dependencies to run embedded broker in JUnit tests? -
How to run EJB session beans outside of a container
Hello,
I m trying to run in a testcase some EJB such as Session stateless, Session stateful of entities. For this last one, everythin works fine. Unfortunately, I cant figure out how to run and retrieve by JNDI my session beans.
I itried to run my beans in the JBOSS embedded EJB runtime, and it works fine.
It would be nice I anyone could give me some explanations or a link about this subject :)
Thanks
Regards,
AlexandreThree things I would want to know before considering answering your question.
1. What version number to 3 decimal places?
2. Why?
3. Why? And this time make it a full and complete explanation. <g>
Sorry but this is not a normal thing to ask and I am rather concerned about the motivation. -
How to run EJBs Session in standalone mode
Hello,
I m trying to run in a testcase some EJB such as Session stateless, Session stateful of entities. For this last one, everythin works fine. Unfortunately, I cant figure out how to run and retrieve by JNDI my session beans.
I itried to run my beans in the JBOSS embedded EJB runtime, and it works fine.
It would be nice I anyone could give me some explanations or a link about this subject :-)
Thanks
Regards,
AlexandreYes, called BootCamp. Enjoy: http://www.apple.com/support/bootcamp/
Or you can run the Windows OS virtualized using VMWare Fusion ($49), Parallels Desktop ($99) or Oracle VirtualBox (free). This lets you run both OS at the same time: MacOS is the host and Windows the guest. -
HOW TO RUN ADOBE READER IN MACBOOK PRO
HOW TO RUN ADOBE READER IN MACBOOK PRO
Please stop using caps. It is considered shouting and rude.
You need to download the program. The reader runs when needed.
Barry -
How to run 'Get-AssignedAccess' or 'Set-AssignedAccess' power shell commands in c# Application
Hi,
I have console application using which i am trying to run power shell command like 'Get-AssignedAccess' or 'Set-AssignedAccess'.
i am using below code for this it is throwing exception 'Get-AssignedAccess' doesn't exist in cmdlet which is correct because these commands belongs to function category.
using (PowerShell pwInstance = PowerShell.Create())
pwInstance .AddScript("Get-AssignedAccess");
var result = pwInstance .Invoke();
How can we execute this kind of command using c#?
Thanks,Hi prakashlight,
Thank you for comming back and tell us the result. For more information about how to run PowerShell script in C# language, you can refer to this blogpost here:
Executing PowerShell scripts from C#
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hi
Does anyone know How to run twin monitors on a MacBook Pro operating on a Windows Server 2008 R2 ?I know this doesn't help you much, but, I think you have to see if your Mac pro does audio out via HDMI. I don't even know if mine does via DVI. I think it may have to do with the adapter. Try going into Audio MIDI and setting the digital out to multichannel
and using the toslink cable for now. Lemme see...apparently DVI does not carry audio at all. Hm. apparently monoprice could be helpful? If I understand what you're saying correctly: you want to take DVI and multichannel audio via the Toslink and have it all go out over HDMI, right? Whooo..... amazon...looks like it's about $100http://www.amazon.com/Audio-SPDIF-Toslink-Converter-Adapter/dp/B0015YYOQQ
just a shot in the dark
I'm probably wrong....or not
John B -
How to run expdp from client ?
Hi All,
I tried searching google and forums for my issue but to no avail > How to run expdp from client side ....like in my laptop.
Because currently our PROD database server has no space for expdp dump file. So I want it directed to my laptop which has an extenal USB of 1TB harddisk...via client EXPDP
import data using impdp command
Posted on: 08-May-2012 11:36, by user: 841731 -- Relevance: 53% -- Show all results within this thread
below command is correct or not? if it is not correct could you please send me the correct command. impdp user/pass@databasename schemas=sourceschemaname remap_schema=sourceschemaname:destinationschemaname ...
System generated Index names different on target database after expdp/impdp
Posted on: 30-May-2012 11:58, by user: 895124 -- Relevance: 43% -- Show all results within this thread
After performing expdp/impdp to move data from one database (A) to another (B), the system name generated indexes has different ...
[ETL] TTS vs expdp/impdp vs ctas (dblink
Posted on: 08-May-2012 21:10, by user: 869578 -- Relevance: 39% -- Show all results within this thread
(table : 500 giga, index : 500 giga), how much faster is TTS (transportable tablespace) over expdp/impdp, and over ctas (dblink) ? As you know, the speed of etl depends on the hardware capacity. (io ...
Oracle Client
Posted on: 21-Jun-2012 22:47, by user: Sh**** -- Relevance: 32% -- Show all results within this thread
Hi Guys, Please can you guys elaborate the difference between Oracle Client and Oracle Instant Client. Also, please can you advise from where I can download the Oracle normal ...
Oracle 10g Client
Posted on: 05-Jun-2012 10:11, by user: dzm -- Relevance: 26% -- Show all results within this thread
to search at oracle site and this forum, but i wasn't able to find a link to download the oracle 10g client. I really need especificaly the 10g version. Anybody know the link or another way to download ...
9i client to access 11g database
Posted on: 22-Jun-2012 07:31, by user: kkrm333 -- Relevance: 24% -- Show all results within this thread
Hi, Can i access a 11g database using 9i client? Thanks,
SQLplus in Oracle Client
Posted on: 14-Jun-2012 00:36, by user: Tim B. -- Relevance: 24% -- Show all results within this thread
Hi, I tried to install an 11g oracle client in linux. As I've compared the files with the files when you install using the oracle instant ...
Re: Information on Oracle Client 11202-1.1.4-6
Posted on: 05-Jun-2012 03:33, by user: 898763 -- Relevance: 23% -- Show all results within this thread
Actually thats the client requirement
Analysing the performance of a single client
Posted on: 28-Mar-2012 02:05, by user: 880172 -- Relevance: 23% -- Show all results within this thread
timeouts even on some of the simplest queries. I want to try and get some data about how just this one client is performing and what it’s doing, but everything Google has thrown up so far is orientated around ...
to make client connection as sys
Posted on: 12-Jun-2012 22:04, by user: user11221081 -- Relevance: 23% -- Show all results within this thread
Dear gurus can i connect to my server from my client machine with sysdba without giving sys password i have connected in different ways as sys@abc ...Thanks a lot.Though you can initiate the binary from your client side but for the file creation, there is no other way but to store it on the server side. So your best bet would be to get some space free on the server side of yours.
Aman.... -
How to run a Concurrent Program from the back end?
Hi,
How to run a Concurrent Program from the back end?
Is it Possible to see that Concuurent Request id which we run from the back end, in the front end?
If yes, then Please Give reply how to write the code
Thanks in Advance,
Bharathi.SThis is documented in Chapter 20 of the Application Developers Guide http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121devg.pdf. These MOS Docs also have some information available
221542.1 - Sample Code for FND_SUBMIT and FND_REQUEST API's
235359.1 - How to Launch Planning Data Pull MSCPDP using FND_REQUEST.SUBMIT_REQUEST
HTH
Srini -
How to run a report from oracle 10g form in .csv format
dear all,
how to run a report from oracle 10g form in .csv format? i've already run in pdf & excel format.
i'm using
SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'PDF'); --for pdf
SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'SPREADSHEET'); ---for excel
Please Help..i have already tried.
but the report show in htm or html format. that file will not save into csv. please help. -
How to run a script on Oracle server from isqlplus
Hi I am trying to run a script on my workstation from Oracle server through isqlplus workarea. I entered following command and get the following error. i have enabled isqlplus URL by editing web.xml file already. Can please someone help how to run the script?
@http://myaixserver.com:5560/scripts/Databasestartupstages.sql;
SP2-0920: HTTP error 'page not found (505)' on attempt to open URLSo far, you haven't specified your rdbms version and isqlplus behaved differently on a 9iR1, 9iR2 from the one release on 10gR1/R2. on 9i it was a servlet based on a JServ servlet executor machine, meanwhile on 10g it is a J2EE compliant application deployed on an OC4J container, so configuration is different.
You may want to take a look at these references -->
* Starting iSQL*Plus from a URL
* Creating Reports using iSQL*Plus
~ Madrid -
How to run the form that is only installed on a PC and not using a server?
Hi
I am new to Oracle and have taken the forms class. But I do not understand how to run the form from my PC using XP windows. (Do not have access to a server).
I have started the OC4J, made sure the listener was started, compiled the form and then when I run it, it automatically goes to the HTTP:
ERROR: res://ieframe.dll/acr_depnx_error.htm#,http://kevin:8889/forms/frmservle
I connected to the database correctly. I can process a report and it does nor try to access the internet. My only issue is running the form. I verified it compiled.
Sorry for a basic question. Could someone please help, I tried reviewing other questions, but not sure if they are connecting to a server or not.
I see webutil but is it required if I don't have a server? Thank you in advance.Regardless of the version, it appears that you may not have configured the Builder. Do the following:
1. Open the Builder
2. From the menu, select Edit > Preferences > Runtime
3. In the box labeled "Application Server URL:", enter a local URL needed to run a form OR click the button labeled "Reset to Default". If you decide to manually enter a value, it would looks something like this:
http://localhost:8889/forms/frmservlet
4. In the field labeled "Web Browser Location:", enter the path and executable to your preferred browser. So for example if IE is your browser of choice the entry would most likely look like this:
C:\Program Files\Internet Explorer\IEXPLORE.EXE
5. Click on OK and retest.
By the way, you can manually enter a URL in the browser. Clicking the RunForm button from the Builder is strictly optional. To run the "test" form directly from the browser enter the following into the browser's address field:
http://localhost:8889/forms/frmservlet?form=test
More information about Forms can be found on OTN:
http://www.oracle.com/technology/products/forms/index.html -
How to run SmartCard Application on PC
hi,
i want to know how to convert class file into a CAP file and how to run on PC a smartCard Application. when i use converter use from command prompt then it will ask the AID how i get the AID at Conversion time. pls tell me the procedure for Convert and run the application on PC.
pls help me.You can use the suggestions in the below blog to test your app on another PC.
http://blogs.msdn.com/b/patricka/archive/2012/11/05/how-do-i-deploy-a-windows-8-app-to-another-device-for-testing.aspx
Maybe you are looking for
-
Can I publish more than one website to my Mobil Me account? -- Urgent!
I need to create a 2nd website with iWeb and publish it using Mobil Me. Can I do this using my existing Mobil Me account? I seem to be able to publish only one site at a time. If I need to set up a 2nd Mobil Me account, how do I differentiate the two
-
Problem with printing sapscript
hi experts. I'm now having a problem where text which is supposed on more than one page is being printed on one page on top of the other text,that is, text for example which is supposed to be 3 pages is coming out on the same page. but when i'm previ
-
Poor performance ssd 7,1
Hi my name is Raul and i own a mid 2010 macbbok pro 7,1 core 2 duo 2.4ghz 4 gb ram ddr3, i bought an ssd for my laptop knowing that is not going to use the sata3 because this model is only sata2 capable but the you check in system information and say
-
I am looking for a canadian keyboard (bluetooth, foldable) which have accents to write in french. I shopped at future Shop, Best Buy, the Source and more. I even bought one 'Mathias Keyboard on Future Shop online' , but still, no accent on the key
-
Where to put path %JAVA_HOME%\bin
I have a problem. I have Windows Vista. Where should I put the path %JAVA_HOME%\bin? Alprojam