How to run Content DB Client console from JDevloper
Hi
I have downloaded all the content db client console pages from server. Please let me know how to run the console from my local machine thru jdeveloper. When i tried to run it is giving some runtime exceptions.
Sep 10, 2007 10:46:07 AM oracle.ifs.fdk.http.HttpNodeManager
INFO: Creating HTTP Node ...
07/09/10 10:46:07 Cannot create HTTP Node:
oracle.ifs.common.IfsException: IFS-45061: Unable to create node
oracle.ifs.common.IfsException: IFS-20016: Required parameters are null (either "Schema Name" or "Domain Name" should be non-null)
at oracle.ifs.management.domain.HttpServletNodeUtilities.createNode(HttpServletNodeUtilities.java:243)
at oracle.ifs.management.domain.HttpServletNodeUtilities.createNode(HttpServletNodeUtilities.java:156)
at oracle.ifs.fdk.http.HttpServer.createNode(HttpServer.java:162)
at oracle.ifs.fdk.http.HttpNodeManager.contextInitialized(HttpNodeManager.java:37)
Please let me know if there is any documentation for this.
Thanks
Ravi
Hi,
I built berkeley DB 4.4.20 and use it from Jbuilder2005, I noticed that tha size of Jbuilderw.exe consumes about 96MB of memory and the size of javaw.exe consumes (in my application) about 63MB. so I thought that if I load the jdk1.4 only ( by running my code from the command line) this will save memory because not all compenents of Jbuilder will be loaded into memory. to do so, I copied the directory jdk1.4 from inside jbuilder2005 and put it on c:\, then I build berkeley DB using visaul c++ 6.0 and filled the following pathes in the include directory(tools-->options->directories)
c:\jdk1.4\include
c:\jdk1.4\include\win32
and in the executable files directories I added the following path:
c:\jdk1.4\bin
then I set the classpath from inside windows (server2003), and I set the path as well but when I run the java class from the command line, I recieved message like "the packege com.sleepycat.db " not exist
thanks
Similar Messages
-
How to run form in the background from command line
please can anybody tell me to
how to run form in the background from command line
vishalUmmm....Oracle Forms is a foreground runtime kind of thing. What you want is a database procedure (or an OS utility - it depends on what sort of processing you want to do in the background).
Cheers, APC -
How to run an external .exe file from an indesign pluging
Hi,
Suppose if I have written an separate application in C++ (.exe file) & need to run it from an indesign pluging(as if a service in windows). have you provided that facilities in your SDK? if it's please let me know how to run an external .exe file from a indesign pluging.
Thanks,I'm actully writing data in PMString to a external txt file.
another question..
if i want to execute an action when the ok button is cliked how can i do it?
whe i add a button(widget) i know how to handle it. please see my code.
// Call the base class Update function so that default behavior will still occur (OK and Cancel buttons, etc.).
CDialogObserver::Update(theChange, theSubject, protocol, changedBy);
do
InterfacePtr<IControlView> controlView(theSubject, UseDefaultIID());
ASSERT(controlView);
if(!controlView) {
break;
// Get the button ID from the view.
WidgetID theSelectedWidget = controlView->GetWidgetID();
if (theChange == kTrueStateMessage)
//if (theSelectedWidget == kEXTCODGoButtonWidgetID
switch(theSelectedWidget.Get())
case kEXTCODGoButtonWidgetID:
this->ViewOutput();
break;
case kEXTCODFindButtonWidgetID:
this->SaveLog();
break;
// TODO: process this
} while (kFalse);
I do two actions "SaveLog" & "ViewOutput()" using two buttons. But i dont know how to execute an action when the ok button is clicked... -
How to run the open script code from eclipse?
Hi,
How to run the open script code from eclipse.
Please let me any soulutions on this.Hi Konda
I am not quite sure you can do that and it would even be not supported... Again, what is the purpose? Why do you want to run your openscript code in Eclipse?
What is the code you try to run?
As an example, even if you include al the jar files and so on. don't think the function "Launch Browser" could work because it isn't only java code orjar files.....
If you give us more background. maybe we can guide you to a better solution...
JB -
How to run OPatch against Node Manager from the admin server
How to run OPatch against Node Manager from the admin server
Hello,
I'm not sure what you meant by Opatch against nodemanager.You can check the below document about how to apply patches using Opatch
Oracle Fusion Middleware Patching with OPatch - 12c (12.1.2)
Refer the section " Common OPatch Commands When Patching an Oracle Fusion Middleware Oracle home"
/MR -
How to run a CMD command directly from run ?
How to run a CMD command directly from run ?
Like "cmd md D:\abcd". I did this before. But now I totally forgot how to do that ?
Please help..........Hi,
To add, here is the command CMD reference:
Cmd
Best regards
Michael Shao
TechNet Community Support -
How can I create a client console and work together with the Cache Server?
How can I edit the following Cache-Server.cmd file to create a client console and work together with the Cache Server?
The following is the cache server file: contacts-cache-server.cmd
@echo off
setlocal
if (%COHERENCE_HOME%)==() (
set COHERENCE_HOME=c:\coherence
set CONFIG=C:\home\oracle\coherence\Contacts
set COH_OPTS=%COH_OPTS% -server -cp %COHERENCE_HOME%\lib\coherence.jar;C:\home\oracle\
coherence\Contacts;C:\home\oracle\coherence\Contacts\classes;
set COH_OPTS=%COH_OPTS% -Dtangosol.coherence.cacheconfig=%CONFIG%\contacts-cache-config.xml
java %COH_OPTS% -Xms1g -Xmx1g -Xloggc: com.tangosol.net.DefaultCacheServer %2 %3 %4 %5 %6 %7
:exitEdited by: junez on 23-Oct-2009 09:20Hi
To run the console, change DefaultCacheServer to CacheFactory
Paul -
How to run a dialog's method from a button's event handler?
I've created my first dialog from the samples, but I am having trouble figuring out how to run a method in my dialog from an button's event handler. Can anyone please point me in the right direction?
function CreateDialog()
this.windowRef = null;
CreateDialog.prototype.run = function()
//...declare a bunch of vars
// Create a window of type palette.
var win = new Window("dialog", "Element Spray Generator",[iTop,iLeft,iTop + iWidth,iLeft + iHeight] ); // bounds = [left, top, right, bottom]
this.windowRef = win;
// Add a frame for the contents.
win.btnPanel = win.add("panel", [iPadding,iPadding,iWidth-iPadding,iHeight-iPadding], "");
.... add a bunch of other stuff ...
win.btnAdd = win.btnPanel.add("button", [win.btnRemove.bounds.left - iPadding - iButtonWidth,win.lstImages.bounds.bottom + iSmPadding,win.btnRemove.bounds.left - iPadding,win.lstImages.bounds.bottom + iSmPadding +iTextHeight], "Add");
win.btnAdd.onClick = function() {
//todo implement this
var f = File.openDialog("Open File") ;
win.lstImages.add("item", f.displayName );
this.EnableControls(); //<--- problem is on this line here!!
this.EnableControls(); //<--- this works
// Display the window
win.show();
return true;
CreateDialog.prototype.EnableControls = function (){
var result = true;
result = result && (this.windowRef.ddlPaths.selection != "");
result = result && (this.windowRef.lstImages.items.length > 0);
this.windowRef.btnOK.enabled = result;This may not be the reason, but when using the way I create dialogs 'this' inside of an onClick points to the control.
win.btnAdd.onClick = function() {
//todo implement this
var f = File.openDialog("Open File") ;
win.lstImages.add("item", f.displayName );
this.EnableControls(); //<--- I would expect it to call another function of btnAdd
// this.parent.EnableControls() might be what you want if the control is not in some other container -
How execute a command on the Console from our prgm
can any body let me know how do we execute a command on the Console from our prgm . . on a windows platform ..
eg. a simple commant like "dir" or "cls" . . or whatever . . .
i heard that it can be done by calling the native methods . . but how is that done???thankx for the quick reply . .
for instance i wanna take a file from my local machine . .
a c++ source code . . (myfile.cpp)
i want to execute that on the prompt using c:\> tcc myfile.cpp
and all these i mean reading the file from the HDD and giving it to the console and getting the output everything should be done by my prgm . .
so basically the command which i usually run on the prompt i should be able to pass that command from my java prgm to the console and get that thing executed . .
i hope i am clear now .. . -
How to run Session ejb client program?
Hi
I am using weblogic server8.1 . I was running an ejb session client program it throws exception like below. Can any one tell me how to run a client in weblogic server. give the syntax for running ejb client.
D:\Weblogicserver\user_projects\domains\mydomain\applications\MyEJB\stateful>jav
a -cp .;c:\j2ee\j2ee.jar;c:\weblogic\classes;D:\Weblogicserver\weblogic81\server
\lib\weblogic.jar PortfolioClient
Exception in thread "main" java.lang.NoClassDefFoundError: PortfolioClient (wron
g name: stateful/PortfolioClient)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
byeIf stateful is the package for the client application, you should be executing from
D:\Weblogicserver\user_projects\domains\mydomain\applications\MyEJB
on the command line. The command should look like -
java -classpath <whatever should be here> stateful.MyClient -
How to run .ksh file in unix from .jsp files
Hi frnd,
How to connect unix servers from .jsp file & I want to run unix scripts .ksh files from .jsp files
Thanku
bhupathipawanIt is usually a bad idea to do any major processing directly within a JSP. It is better to create a helper class and invoke methods on that. This helper class can then be tested outside of the inhospitable JSP environment.
To run the '.ksh' file you will need to use either Runtime.exec() or the more modern ProcessBuilder. You will save yourself a lot of grief if you read thoroughly the 4 sections of http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html and then implement the recommendations.
Note - although the 'traps' article is written around the use of Runtime.exec(), it's content is equally applicable to ProcessBuilder. -
RMI call back - How to refer to the client project from the server project?
Hi, I am working on an RMI assignment which basically needs me to use the RMI call back for the server to notify the clients.
I have 2 projects , one for the client and another for the server.
In the client project, I have a client interface and the main client class implements this interface.
In the server project, I have a server interface and a class that implements this interface.
I can use the server interface in the client project's code by adding the server project in the path of the client project. it lets me use the server interface in the code if I put "import.." statement.
But the issue is I can not do the same to access the client interface from within the server project's code. Since that will be a circular reference, the compiler does not let me use the client interface from within the server's code. This is putting me in a great difficulty and I am stuck here. What should I do so that I can use the client interface and the compiler won't complain?
Thanks for any help..
Regards.. jsLet me explain what I tried: I manually generated stub class of the client using the Eclipse IDE as mentioned in my previous message. The StockMSClient_Stub.class got created in my client project.
The common project has the 2 interfaces - one from the client and one from the server.
I have added reference to the common project from the client and server projects to use the interfaces.
With the above mentioned in place, when I run the server project, the registry binding of the server objects is very fine. But I am getting error in the applet at the line where I am passing the client object to the method provided by the server interface. The following is the code snippet in the applet where I am getting the error.
specifically the line: String response = objs.login(userId, password, smsClient); ====================
public void login() {
Registry reg = null;
String userId = "test";
String password = "test";
this.smsClient = new StockMSClient();
try {
reg = LocateRegistry.getRegistry(rmiHost,rmiPort);
UserInterface obj = (UserInterface) reg.lookup(rmiStrings
[1]);
User u = obj.find(userId);
if (u == null) {
System.out.println("This user is not valid");
} else {
UnicastRemoteObject.exportObject(smsClient);
reg = LocateRegistry.getRegistry(rmiHost, rmiPort);
LoginLogoutInterface objs = (LoginLogoutInterface) reg
.lookup(rmiStrings[0]);
//getting error at the following line.
String response = objs.login(userId, password, smsClient);
System.out.println("response :" + response);
} catch (AccessException ae) {
System.out.println(ae);
} catch (NotBoundException nbe) {
System.out.println(nbe);
} catch (RemoteException re) {
System.out.println(re);
} //end login()====================
Error is:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: sms.rmi.graphics.StockMSClient_Stub (no security manager: RMI class loader disabled)================
I don't know why this is happening..Please help.
thanks & regards, js
Message was edited by:
jsitaraman -
How to run a command line window from code?
In an application I need to run a dll file with a few arguements. These arguements can be given in the command line window. The execution of the dll file will return a string that i need to get (for the parsing etc).
1. How can I open a command line window from the Java code?
2. How to run commands on it?
3. How to get the results of the commands from the command line into my program?In an application I need to run a dll file with a few
arguements. These arguements can be given in the
command line window. The execution of the dll file
will return a string that i need to get (for the
parsing etc).
A dll is used by other programs. It is not possible to run it from the command line. -
How to run ejb (JServer) client in web browser
Did anyone try the ClubMed example under $ORACLE_HOME/javavm/demo/examples/ejb/applets/ClubMed?
Does anyone know how to run the applets in latest Netscape and/or IE browsers? What do I need to do to set up security, etc. Thanks.
nullForms client side is a Java applet, so it needs a Web browser to run. Anyway you could try to run it with the Java Web Start.
<p>See this Jan Carlin entry.</p>
Francois -
How to run the exemple client program in win98
HI
I have installed weblogic server5.1 in windows 98 and while i try to run my client program from dos prompt it is not working.
i am calling my from the same m/c where i installed weblogic server like this:
This program is given in the weblogic example
c:\java examples.ejb.basic.statelessSession.Client
"t3://localhost:7001"
but it shows some error.so pls help mearavanan wrote:
>
HI
I have installed weblogic server5.1 in windows 98 and while i try to run my client program from dos prompt it is not working.
i am calling my from the same m/c where i installed weblogic server like this:
This program is given in the weblogic example
c:\java examples.ejb.basic.statelessSession.Client
"t3://localhost:7001"
but it shows some error.so pls help mewhat error?
Post the stack trace here..
Kumar
Maybe you are looking for
-
How I generate index markers using Applescript and tagged text!
One of the challenges I've faced in automating the book making process using Applescript with inDesign is that there don't seem to be any AS commands for making new index markers (anyone please correct me I if I'm wrong about this). I've tried variou
-
For some reason I set clips to batch capture and FCP 4.5 stops capturing minutes early. I already went through the QT & pro apps update fiasco and downgraded to the older formats. I've been capturing easily from analog but keep having this niggling l
-
Green & Blue pixels of death - Hotfix
Occasionally my screen will boot swarming with green & blue pixel sized dots. If I take a screenshot, and look at that screenshot on another computer, they are not visible. I used to reboot until they disappeared, and then started putting the display
-
I'm on a MAC OS X version 10.9.4 Firefox browser version 31.0 I have no Firewall set up I have no security software or virus protection software Since my browser automatically updated to Firefox version 31.0 I cannot access: google. com or facebook.c
-
Time Machine prepares back ups of 10GB and more with very little activity on my computer
I have an early 2008 iMac with a Samsung 750GBHD, and I am using a Time Machine since 4 years ago working pretty well. As of beginning 2014 it started to show many errors but at the end of the day there were 1 or 2 back ups done. During this August I