Rwcgi60.exe not terminating
Is rwcgi60.exe supposed to stop execution once it has finished generating the report or is it supposed to continue to run?
Thanks
Slawek Ciepielewski (guest) wrote:
: It is problem with developer60 web-reporsts status.
: Proces RWCGI60.EXE hangs where raning status page from IE40.
: URL: http:/www.server/cgi-bin/rwcgi60.exe/showjobs?server=rwsrv
: It happend only where NLS_LANG=POLISH_POLAND.EE8MSWIN1250
: ( AMERICAN_AMERICA.EE8MSIWN1250 is OK ).
: So, I can get status only in english not in polish.
: ( Other rwcgi60.exe parameters are OK in polish )
: Please help.
I have the same Problem with rwcgi60 under Compaq Tru64 UNIX
with NLS_LANG=GERMAN_GERMANY.WE8ISO8859P1!
Seems to be a common bug.
null
Similar Messages
-
URGENT. rwcgi60.exe always brings up a blank page
Hello,
I'm sorry, i already posted thid question a few days ago but, as i had no answer (or exactly just one answer from the Oracle Report Team who, i think, didn't understand the question (may be because my french is better than my english !), I post it again with more details.
I try to use the rwcgi60.exe cgi-bin with an Apache Web Server on NT 4.0 to show
Oracle Reports in IE 5.0 browser.
Whatever the way i try to call this cgi-bin (without parameters, with parameters,...) i ALWAYS GET AN HTML BLANK PAGE made of the
following code :
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<CENTER><H1>
</CENTER></H1>
<BR></BODY>
</HTML>
I checked the REPORTS60_CGINODIAG key,it is not defined, so i should at least get an help message telling me what happens.
I have others cgi-bin in my Apache Web Server
that works FINE !
Contrary to rwcgi60.exe, rwCLI60.exe works fine with my report server (even to generate HTML file !).
The Apache Web Server and the Oracle Report Server are on the same system
Is this cgi-bin only usable with Oracle Application Web Server (although i heard that OWAS 9i was build upon Apache !)?
Can you tell me how to get traces, or debug,or get any information from the rwcgi60.exe to understand
what happens ? I feel really disapointed !
Thanks in advance for any precious help
Michel COTE.
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by The Oracle Reports team ([email protected]):
Michel,
No, you don't need the Oracle Application Web Server to run cgi-bin.
TO fix this problem, you need to either create a new virtual directory for the HTTP listener called cgi-bin (or modify the existing mapping). Set the
physical map for this virtual directory to:
<Oracle Home>/bin where the rwcgi60.exe is located.
If you use Oracle 9i Application Server, this is configured for you.
Oracle 9i Application Server does use the Apache Web Listener.
Hope this helps.
Regards,
The Oracle Reports Team<HR></BLOCKQUOTE>
Hello,
That's a great day, it works ....!
I add a new "cgi-bin-ora" virtual directory to the ORACLE_HOME\bin and now rwcgi60.exe is OK.
Lots of thanks for your help !
PS : may be you should change the following Report online documentation :
3.2.3 Step 3. Configuring the Reports Web CGI
Note: If you are configuring the Reports Server using the Reports Servlet, then refer to Section 3.4, "Reports Servlet Configuration Guidelines" for more information.
This step is performed on the Web server machine.
3.2.3.1 Configuring Reports Web CGI
COPY rwcgi60.exe (located in the ORACLE_HOME\BIN directory) to your cgi-bin directory.
null -
Runtime error. nimxs.exe abnormally terminated by Visual C++ Runtime library
Hello, I installed without a glitch Labview 8.6 evaluation on my notebook (WXP, SP3). I could not launch the software from the outset and keep getting MS Visual C++ Runtime Library Runtime Error about nimxs.exe abnormally terminating the Runtime.
I had not worked with the development software previously. I only had Runtime Engine 7.1 on my computer to work with older VIs that had been working flawlessly. Idi not develop these VIs and had not modified them. I removed the Engine from the computer and rebooted several times to no success. The forum discussions about this kind of error are not pertinent to this problem of installation that has never worked. I tried to disable firewall and antivirus and added nimxs.exe to the firewall's enabled software, again to no success.
Can anyone help? Thanks in advanceHello David,
it did not help. Since I could not run LabVIEW any time I do not think the database got corrupted. The message (snapshot attached) appears on the computer start up. I would suspect the firewall, but disabling it did not help either.
Petr
Attachments:
Clipboard01.jpg 19 KB -
Adobe3DAndVideoServer.exe not working when CS6 Bridge Launched 64 Bit on Win 7 64 Bit
QuickTime 7.7.3
Windows 7 64 Bit
All windows updates applied
Video driver updated
all adobe updates ran for bridge and PS CS6
Cleaned out preferences
Launching Bridge now responds with "Adobe3DAndVideoServer.exe not working" with no help of what to do about the issue?
I did notice that this problem seemed to start after a recent upgrade to Quicktime?
Adobe Photoshop Version: 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00) x64
Operating System: Windows 7 64-bit
Version: 6.1 Service Pack 1
System architecture: Intel CPU Family:6, Model:10, Stepping:7 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
Physical processor count: 4
Logical processor count: 8
Processor speed: 3392 MHz
Built-in memory: 8173 MB
Free memory: 4222 MB
Memory available to Photoshop: 7235 MB
Memory used by Photoshop: 60 %
Image tile size: 128K
Image cache levels: 4
OpenGL Drawing: Enabled.
OpenGL Drawing Mode: Advanced
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
OpenGL Allow Old GPUs: Not Detected.
Video Card Vendor: ATI Technologies Inc.
Video Card Renderer: AMD Radeon HD 6450
Display: 1
Display Bounds:= top: 0, left: 0, bottom: 1080, right: 1920
Video Card Number: 1
Video Card: AMD Radeon HD 6450
OpenCL Unavailable
Driver Version: 9.10.8.0
Driver Date: 20121022000000.000000-000
Video Card Driver: aticfx64.dll,aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,aticfx32,atiumd64.dll,atidxx64.d ll,atidxx64.dll,atiumdag,atidxx32,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dll
Video Mode: 1920 x 1080 x 4294967296 colors
Video Card Caption: AMD Radeon HD 6450
Video Card Memory: 1723 MB
Video Rect Texture Size: 16384
Serial number: 91198659860789516002
Application folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\
Temporary file path: C:\Users\FUZZYH~1\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
Startup, 1.34T, 457.9G free
Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Required\
Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Plug-ins\
Additional Plug-ins folder: not set
Installed components:
A3DLIBS.dll A3DLIB Dynamic Link Library 9.2.0.112
ACE.dll ACE 2012/06/05-15:16:32 66.507768 66.507768
adbeape.dll Adobe APE 2012/01/25-10:04:55 66.1025012 66.1025012
AdobeLinguistic.dll Adobe Linguisitc Library 6.0.0
AdobeOwl.dll Adobe Owl 2012/06/26-12:17:19 4.0.95 66.510504
AdobePDFL.dll PDFL 2011/12/12-16:12:37 66.419471 66.419471
AdobePIP.dll Adobe Product Improvement Program 6.0.0.1654
AdobeXMP.dll Adobe XMP Core 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPFiles.dll Adobe XMP Files 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPScript.dll Adobe XMP Script 2012/02/06-14:56:27 66.145661 66.145661
adobe_caps.dll Adobe CAPS 6,0,29,0
AGM.dll AGM 2012/06/05-15:16:32 66.507768 66.507768
ahclient.dll AdobeHelp Dynamic Link Library 1,7,0,56
aif_core.dll AIF 3.0 62.490293
aif_ocl.dll AIF 3.0 62.490293
aif_ogl.dll AIF 3.0 62.490293
amtlib.dll AMTLib (64 Bit) 6.0.0.75 (BuildVersion: 6.0; BuildDate: Mon Jan 16 2012 18:00:00) 1.000000
ARE.dll ARE 2012/06/05-15:16:32 66.507768 66.507768
AXE8SharedExpat.dll AXE8SharedExpat 2011/12/16-15:10:49 66.26830 66.26830
AXEDOMCore.dll AXEDOMCore 2011/12/16-15:10:49 66.26830 66.26830
Bib.dll BIB 2012/06/05-15:16:32 66.507768 66.507768
BIBUtils.dll BIBUtils 2012/06/05-15:16:32 66.507768 66.507768
boost_date_time.dll DVA Product 6.0.0
boost_signals.dll DVA Product 6.0.0
boost_system.dll DVA Product 6.0.0
boost_threads.dll DVA Product 6.0.0
cg.dll NVIDIA Cg Runtime 3.0.00007
cgGL.dll NVIDIA Cg Runtime 3.0.00007
CIT.dll Adobe CIT 2.0.5.19287 2.0.5.19287
CoolType.dll CoolType 2012/06/05-15:16:32 66.507768 66.507768
data_flow.dll AIF 3.0 62.490293
dvaaudiodevice.dll DVA Product 6.0.0
dvacore.dll DVA Product 6.0.0
dvamarshal.dll DVA Product 6.0.0
dvamediatypes.dll DVA Product 6.0.0
dvaplayer.dll DVA Product 6.0.0
dvatransport.dll DVA Product 6.0.0
dvaunittesting.dll DVA Product 6.0.0
dynamiclink.dll DVA Product 6.0.0
ExtendScript.dll ExtendScript 2011/12/14-15:08:46 66.490082 66.490082
FileInfo.dll Adobe XMP FileInfo 2012/01/17-15:11:19 66.145433 66.145433
filter_graph.dll AIF 3.0 62.490293
hydra_filters.dll AIF 3.0 62.490293
icucnv40.dll International Components for Unicode 2011/11/15-16:30:22 Build gtlib_3.0.16615
icudt40.dll International Components for Unicode 2011/11/15-16:30:22 Build gtlib_3.0.16615
icudt42.dll International Components for Unicode 4, 2, 0, 0
icuin42.dll International Components for Unicode 4, 2, 0, 0
icuuc42.dll International Components for Unicode 4, 2, 0, 0
image_compiler.dll AIF 3.0 62.490293
image_flow.dll AIF 3.0 62.490293
image_runtime.dll AIF 3.0 62.490293
JP2KLib.dll JP2KLib 2011/12/12-16:12:37 66.236923 66.236923
libifcoremd.dll Intel(r) Visual Fortran Compiler 10.0 (Update A)
libmmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 10.0
LogSession.dll LogSession 2.1.2.1640
mediacoreif.dll DVA Product 6.0.0
MPS.dll MPS 2012/02/03-10:33:13 66.495174 66.495174
msvcm80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcm90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcp100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcp80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcp90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcr100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcr80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcr90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
onOneActivationToolbox.dll onOneActivationToolbox 1.1
onOneToolboxPlus.dll onOne Toolbox2 Dynamic Link Library 2.2.0
OnOneWidgets.dll OnOneWidgets dll 2.5
ONProxySupport.dll TODO: <Product name> 1.0.0.1
pdfsettings.dll Adobe PDFSettings 1.04
Photoshop.dll Adobe Photoshop CS6 CS6
Plugin.dll Adobe Photoshop CS6 CS6
PlugPlug.dll Adobe(R) CSXS PlugPlug Standard Dll (64 bit) 3.0.0.383
PSArt.dll Adobe Photoshop CS6 CS6
PSViews.dll Adobe Photoshop CS6 CS6
SCCore.dll ScCore 2011/12/14-15:08:46 66.490082 66.490082
ScriptUIFlex.dll ScriptUIFlex 2011/12/14-15:08:46 66.490082 66.490082
tbb.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
tbbmalloc.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
TfFontMgr.dll FontMgr 9.3.0.113
TfKernel.dll Kernel 9.3.0.113
TFKGEOM.dll Kernel Geom 9.3.0.113
TFUGEOM.dll Adobe, UGeom© 9.3.0.113
updaternotifications.dll Adobe Updater Notifications Library 6.0.0.24 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 6.0.0.24
WRServices.dll WRServices Friday January 27 2012 13:22:12 Build 0.17112 0.17112
wu3d.dll U3D Writer 9.3.0.113
zlib.dll zlib 1.2.5
Required plug-ins:
Accented Edges 13.0
Adaptive Wide Angle 13.0
ADM 3.11x01
Angled Strokes 13.0
Average 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Bas Relief 13.0
BMP 13.0
Chalk & Charcoal 13.0
Charcoal 13.0
Chrome 13.0
Cineon 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Clouds 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Collada 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Color Halftone 13.0
Colored Pencil 13.0
CompuServe GIF 13.0
Conté Crayon 13.0
Craquelure 13.0
Crop and Straighten Photos 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Crop and Straighten Photos Filter 13.0
Crosshatch 13.0
Crystallize 13.0
Cutout 13.0
Dark Strokes 13.0
De-Interlace 13.0
Difference Clouds 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Diffuse Glow 13.0
Displace 13.0
Dry Brush 13.0
Eazel Acquire 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Embed Watermark 4.0
Extrude 13.0
FastCore Routines 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Fibers 13.0
Film Grain 13.0
Filter Gallery 13.0
Fresco 13.0
Glass 13.0
Glowing Edges 13.0
Grain 13.0
Graphic Pen 13.0
Halftone Pattern 13.0
HDRMergeUI 13.0
IFF Format 13.0
Ink Outlines 13.0
JPEG 2000 13.0
Lens Blur 13.0
Lens Correction 13.0
Lens Flare 13.0
Liquify 13.0
Matlab Operation 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Measurement Core 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Mezzotint 13.0
MMXCore Routines 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Mosaic Tiles 13.0
Multiprocessor Support 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Neon Glow 13.0
Note Paper 13.0
NTSC Colors 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Ocean Ripple 13.0
Oil Paint 13.0
OpenEXR 13.0
Paint Daubs 13.0
Palette Knife 13.0
Patchwork 13.0
Paths to Illustrator 13.0
PCX 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Photocopy 13.0
Photoshop 3D Engine 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Picture Package Filter 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Pinch 13.0
Pixar 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Plaster 13.0
Plastic Wrap 13.0
PNG 13.0
Pointillize 13.0
Polar Coordinates 13.0
Portable Bit Map 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Poster Edges 13.0
Radial Blur 13.0
Radiance 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Read Watermark 4.0
Reticulation 13.0
Ripple 13.0
Rough Pastels 13.0
Save for Web 13.0
ScriptingSupport 13.0.1
Shear 13.0
Smart Blur 13.0
Smudge Stick 13.0
Solarize 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Spatter 13.0
Spherize 13.0
Sponge 13.0
Sprayed Strokes 13.0
Stained Glass 13.0
Stamp 13.0
Sumi-e 13.0
Targa 13.0
Texturizer 13.0
Tiles 13.0
Torn Edges 13.0
Twirl 13.0
Underpainting 13.0
Vanishing Point 13.0
Variations 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Viveza 2 2.0.9.20903
Water Paper 13.0
Watercolor 13.0
Wave 13.0
WIA Support 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Wind 13.0
Wireless Bitmap 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
ZigZag 13.0
Optional and third party plug-ins:
BackgroundFilter NO VERSION
Camera Raw 7.2
Color Efex Pro 4 4,05
Color Efex Pro 4 4,05
Dfine 2.0 NO VERSION
FineStructuresFilter NO VERSION
HDR Efex Pro 2 2,03
HotPixelsFilter NO VERSION
Merge to HDR Efex Pro 2 2,03
Nik Selective Tool 2.1.4.20903
Perfect Effects Free 3.0.2
Perfect Effects Free Filter 3.0.2
Perfect Effects Free Smart Filter 3.0.2
Perfect Resize 7.0 Professional Edition 7.0.7
Perfect Resize 7.0 Professional Edition Batch 7.0.7
Perfect Resize 7.0 Professional Edition Filter 7.0.7
Perfect Resize 7.0 Professional Edition Format 7.0.7
PhotoFrame 4.6 Professional Edition 4.6.7
PhotoFrame 4.6 Professional Edition Batch 4.6.7
PhotoFrame 4.6 Professional Edition Hidden 4.6.7
Portrait Professional 1, 4, 1, 0
ShadowsFilter NO VERSION
Sharpener Pro 3.0: (1) RAW Presharpener 3.0.10.20903
Sharpener Pro 3.0: (2) Output Sharpener 3.0.10.20903
SkinFilter NO VERSION
SkyFilter NO VERSION
StrongNoiseFilter NO VERSION
Plug-ins that failed to load: NONE
Flash: NONE
Installed TWAIN devices: NONEThis is a new one on me.
It's a server program to interface with QuickTime and some other problematic services.
If you use video or 3D in Photoshop Extended, you probably need it.
Sounds like you are correct in that it has to do wtih Quicktime. Do you have PS extended? -
BufferReader using reaLine() is not terminating when end of message.
Hi folks,
Newby Java here. I have a situation where I am writing a Server Socket Java program where I am accepting connection from a client and the client is sending messages me. I am able to connected to the client and the client successfully send messages to me, but the problem I am running into is that it's not terminating the while loop when I read to the end of the message using a reaLine(). It's like it's hung up or something...
Here is a copy of the code.....
ss = new ServerSocket(6500, 5);
System.out.println("Listenning........waiting for connection from client");
try {
response = ss.accept();
System.out.println("Accepted connection from client");
InputStream in = response.getInputStream();
System.out.println("Input Stream Opened");
BufferedReader br = new BufferedReader(new InputStreamReader(in));
System.out.println("Buffered Stream Opened");
System.out.println("Server received: " + "\n" );
BufferedWriter bw = new BufferedWriter(new FileWriter("testing001.txt"));
String input = br.readLine();
while (input != null) {
bw.write(input);
bw.newLine();
input = br.readLine();
br.close();
bw.close();
System.out.println("Done receiving message" + "\n" );
OutputStream out = response.getOutputStream();
BufferedWriter buf = new BufferedWriter(new OutputStreamWriter(out));
buf.write(result);
System.out.println("Server sent: "+result);
buf.flush();
buf.close();
response.close();
ss.close();
catch (IOException e) {
System.out.println("Failure accepting connection: " + e);
What am I doing wrong that the while loop does not terminate when it reads to end of the message using this "readLine()"?
It does not execute the next statement after the while-loop unless you disconnect the connection from the client.
Help!readLine() will wait for more lines forever, or until the other end closes the connection. (For completeness: there are other termination situations too, mostly error conditions.)
You have a multi-line message? Send some kind of an end-of-message line and check for it in your read loop. E.g. "." on a line all by itself. Caveat: if the message itself can contain a line like that you'll need to quote that line somehow. Another approach: send the number of lines in the message first. Requires that you know the number beforehand. -
Error initializing ejb-module; Exception javac.exe not found under
Dear all,
I got followings error after i had tried to doing some lab.I had checked the folder "C:\Program Files\Oracle\jre\1.3.1" exists but missed but missing javac.exe. Could anyone can advice me what is going wrong?
04/04/14 16:44:20 Auto-deploying - web/WEB-INF/classes (No previous deployment found)...
04/04/14 16:44:20 Error instantiating application 'lab04' at file:/C:/share/oc4j
/labs/lab04/: Error initializing ejb-module; Exception javac.exe not found under
C:\Program Files\Oracle\jre\1.3.1, please use a valid jdk or specify the locati
on of your java compiler in server.xml using the <java-compiler .../> tag
Thanks in advance!
Best Regards,
Chris CHIUDear Chris,
The answer lies in the error message you got, namely:
please use a valid jdkAccording to your post, you don't have a JDK, you only have a JRE. The javac compiler is part of the JDK, it is not part of the JRE.
You can download the JDK from the J2SE Download Web page. Look for the Download J2SE SDK link -- do not choose the Download J2SE JRE link!
Good Luck,
Avi. -
Calling back c++ method in an exe (not a dll) from java?
Hi all,
I have to make an hybrid C++/java from an existing C++
application that compiled is a big single exe not a dll.
I'm running under win32.
The application consists of several windows. The hybrid
will have widows in C++ and some in java. They have the
same menu and tool bar. In the C++, there are some
callbacks called when a button is pressed. How to call
these callback from java given the fact that the JVM and
the java classes are launched by the exe file.
I know how, from C++, start JVM and call my java window.
I also know how to call a C++ method that is in a dll from
java. It's from the tutorial
http://java.sun.com/docs/books/tutorial/native1.1/index.html
But I don't know how to call a C++ method that is in in an
exe which has launch a JVM from an object running in this
JVM.
Is there somewhere an example like this?
Thanks,
Xavier.Thanks this helped.
For those who want a complete example, here it is:
Tested on XP, java 1.4.2, VC++ 6.0.
************ File invoke.cpp *****************************
#include <stdlib.h>
#include <jni.h>
#ifdef _WIN32
#define PATH_SEPARATOR ';'
#else /* UNIX */
#define PATH_SEPARATOR ':'
#endif
#define USER_CLASSPATH "." /* where Prog.class is */
void JNICALL displayHelloWorld(JNIEnv *env, jobject obj)
printf("Hello world: made by printf from C++\n");
return;
void main() {
JNIEnv *env;
JavaVM *jvm;
JavaVMInitArgs vm_args;
jint res;
jclass cls;
jmethodID mid;
jstring jstr;
jobjectArray args;
char classpath[1024];
int result;
/* IMPORTANT: specify vm_args version # if you use JDK1.1.2 and beyond */
JavaVMOption options[3];
options[0].optionString = "-verbose:gc";
sprintf (classpath, "-Djava.class.path=%s", USER_CLASSPATH);
options[1].optionString = classpath;
options[2].optionString = "-Djava.compiler=NONE";
vm_args.options = options;
vm_args.nOptions = 3;
vm_args.ignoreUnrecognized = JNI_TRUE;
vm_args.version = JNI_VERSION_1_4;
/* IMPORTANT: Note that in the Java 2 SDK, there is no longer any need to call
* JNI_GetDefaultJavaVMInitArgs. It causes a bug
/* Append USER_CLASSPATH to the end of default system class path */
/* Create the Java VM */
res = JNI_CreateJavaVM(&jvm,(void**)&env, &vm_args);
if (res < 0) {
fprintf(stderr, "Can't create Java VM\n");
exit(1);
cls = env->FindClass("mypackage/Prog");
if (cls == 0) {
fprintf(stderr, "Can't find mypackage/Prog class\n");
exit(1);
JNINativeMethod nm;
nm.name = "displayHelloWorld";
/* method descriptor assigned to signature field */
nm.signature = "()V";
nm.fnPtr = displayHelloWorld;
env->RegisterNatives(cls, &nm, 1);
mid = env->GetStaticMethodID(cls, "main", "([Ljava/lang/String;)V");
if (mid == 0) {
fprintf(stderr, "Can't find Prog.main\n");
exit(1);
jstr = env->NewStringUTF(" from C++! calleded by C++, using argument from C++ but java method");
if (jstr == 0) {
fprintf(stderr, "Out of memory\n");
exit(1);
args = env->NewObjectArray(1,
env->FindClass("java/lang/String"), jstr);
if (args == 0) {
fprintf(stderr, "Out of memory\n");
exit(1);
env->CallStaticVoidMethod(cls, mid, args);
jvm->DestroyJavaVM();
}********************* File ./mypackage/Prog.java **************************
package mypackage;
public class Prog {
public native void displayHelloWorld();
public static void main(String[] args) {
System.out.println("Hello World" + args[0] +"\n");
Prog prog = new Prog();
prog.displayHelloWorld();
System.out.println("(called from java)");
System.out.println("\nSo to sumurize:");
System.out.println(" -1 Starting point is an exe (not DLL, there is no DLL) so C++ code");
System.out.println(" -2 From C++ call java method using argument from C++");
System.out.println(" -3 From java, that was launched by the exe, call to");
System.out.println(" a native using the RegisterNatives in C++\n");
System.out.println("You got a bidirectional example with as starting point");
System.out.println("a single exe, launching JVM, loading class call back C++!");
}******************* Command line for all ****************************************
javac mypackage/Prog
cl -I"D:\Program Files\j2sdk1.4.2_03\include" -I"D:\Program Files\j2sdk1.4.2_03\include\win32" -MT
invoke.cpp -link D:\PROGRA~1\j2sdk1.4.2_03\lib\jvm.lib
(Remark, the last path is using the short name for "Program Files" because with the blank
even adding double quotes result into an error)
You must have jvm.dll in your path for me it's Path=D:\Program Files\j2sdk1.4.2_03\jre\bin\client;
Then simply call invoke and see the result. :-) -
The task TS20000166 in PO release workflow( WS20000075 ) is not terminating
Dear Experts ,
The task TS20000166 in PO release workflow( WS20000075 ) is not terminating after release the PO .
In the WS20000075 ,the event RELEASESTEPCREATED is triggeing and move to the next step.The next step is 'Release of purchase order' , the task TS20000166 is not terminating after release of PO .So Workflow is not move to next step i.e TS20000168.
I have noted TS20000166 is having three terminating event ( RELEASED,RESET,SIGNIFICANTLYCHANGED ) but still it is not terminating.
Is it Clear.If you want more details please let me know .Please help me.
Thanks and Regards
RajeshDear Raj,
Please check agent assignment. And also check graphical mode error and check how many events fire one after one. Because for rejecting there is one more workflow u have to activate but i dont think so u have to activate it after realease . In agent assign ment check workflow with normal agent assignment dont use release stretargy then check it again if it is working fine then it must be problem of agent assignment step.
Reagrds,
Gurprit Bhatia -
Terminating Event in PO Release Workflow. Workitem is not terminating
Hi WF Experts,
I have done Purchase Order Release Workflow with 10 level release With 2 days dead line. Since standard release supports only 8 level release i have opted for Role Resolution Via User Exit 9 . and i am picking release codes from ztable.
I was working fine till now.But suddenly end users are facing problem that workitem is not terminating even after they have released the PO.
What could be the issue what is the terminating event for PO Release workitem.
Please suggest me how to resolve this issue.
Regards,
HariHi Hari,
Please check if the following links helps:
https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/sap%252bworkflow%252bevents
http://help.sap.com/saphelp_nw04/helpdata/en/c5/e4b590453d11d189430000e829fbbd/frameset.htm
Hope this helps!
Regards,
Saumya -
VISTA - AppleMobileDeviceHelper.exe not working
I was an Idiot and thought that Mac might have their $hit together today. I tried to upgrade my wife's 8GB and my 16GB phone. Neither one works now.
My system immediately starts spawning AppleMobileDeviceHelper has stopped working error screen. As quickly as I click check the internet for a solution, another rendition spawns again. It loads 32 of them, then stops. I am dead in the water.
Does anyone else have the AppleMobileDeviceHelper.exe not working error screen and what can I do?I have the same problem on both my computer and my wife's computer after I automatically updated. Have you recevied any response as to how to fix the piece of _ _ _ _?
-
Problem calling rwcgi60.exe on WebLogic
I have this Exception on Weblogic when executing some types of Reports. I'm using the CGI rwcgi60.exe given with Oracle Reports Server
java.lang.ClassCastException: weblogic.utils.Executable$Drainer
at weblogic.servlet.internal.ResponseHeaders.setDateHeader(ResponseHeaders.java:273)
at weblogic.servlet.internal.ServletResponseImpl.setDateHeader(ServletResponseImpl.java:476)
at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java:664)
at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:126)
at weblogic.servlet.internal.ServletOutputStreamImpl.flushWithCheck(ServletOutputStreamImpl.java:400)
at weblogic.servlet.internal.ServletOutputStreamImpl.checkForFlush(ServletOutputStreamImpl.java:531)
at weblogic.servlet.internal.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:198)
at weblogic.servlet.internal.WLOutputStreamWriter.flushBuffer(WLOutputStreamWriter.java:139)
at weblogic.servlet.internal.WLOutputStreamWriter.write(WLOutputStreamWriter.java:104)
at weblogic.servlet.internal.WLOutputStreamWriter.write(WLOutputStreamWriter.java:67)
at java.io.PrintWriter.write(PrintWriter.java:173)
at weblogic.servlet.CGIServlet$CGICharArrayWriter.write(CGIServlet.java:292)
at weblogic.utils.Executable$Drainer.run(Executable.java:266)
anybody have any idea why this Exception occurs?Hi,
I don't know how this can be implimented in Java but I was implimented in asp here is the string
<"http://webservername/<foldername>/rwcgi60.exe?Module or Report =<report Path>+desformat="HTML or HTMLCSS or FILE+server=<tns service name>userid=scott/tiger@servernamedestype=cache+param1=param1value+....+paramn=paramn>"
Reports server has to be installed on the webserver then only this can happen,
go thru the java documentation.
as i don't know about java but this is the procedure and you may have to set all the corresponding paths in your webserver look for documentation. -
Discoverer 11g error: dis51usr.exe not found
Installing Discoverer 11g (11.1.1.3) on a Windows XP SP3 Dewsktop.
Logged on as Administrator and installed the software. Selected both Admin and Desktop.
According to the software installer, the software was installed successfully. I tested it by opening the desktop software and it opened with no issues. I logged off and had the end-user log in. Before the Oracle splash screen even came up, the following error comes up: dis51usr.exe not found (the option to close the notification is to click yes or click delete and the program never opens.)
How could this be? It works when I am logged on as administrator. I made sure the user has 'full control' permissions of the Oracle folder and also added the user to the computer 'Domain Users' group. FYI: another user on another computer had the same error mentioned in the first paragraph and when the user was added to the 'Domain Users' group, the error went away.
At a loss of what to do next to fix the dis51usr.exe error
Appreciate the forthcoming help. Thanks, JM.Pl do not post duplicates - Oracle Discoverer Desktop 11.1.1.3 11g install
-
Some Executions Are Not Terminated by Using Terminate All in Parallel Process Model
Hi,
This issue confued me recently, I'd like to use a parallel model process, and to terminate all execution at once.
If there's some action steps in the sequence, it seemed all execution will be terminated.
However, I put a wait function instead of action steps, there are some executions not terminated while I pressed the Terminate All button in the toolbar.
Hope someone can give me some help. Thanks a lot.
ps. the number of testsockets is set to 9 in my teststand.
Solved!
Go to Solution.
Attachments:
Terminate_Test.seq 7 KBHi, Ting,
Thanks for your help.
I'd like to add some additional remarks,
What I'd like to know is what cause the termination unstable in such a situation.
The timing seemed to play an important role, but it is not my orignal concern.
I used the testsocket of the last one to send the TerminateAll() command, but the choise is an accident...
Originally I take the first testsocket to send TerminateAll() command, it works "well".
I've notice the terminating action is always done in the reverse order of the testsocket(i,e, from the last testsocket to the first one),
it seemed to make each testsocket go to cleanup and then not allow the testsocket continue.
If we trace the executions more detailedly, it can be found the executions not terminated are actually received the command of the TerminateAll().
They went to cleanup, and waited for the following "not continue" procedure, but somehow it missed so that they survived to repeat the execution.
This consquence is a little like the termination is terminated...(not tongue twister...XD)
If my postulation is true, it is safe to put the TerminateAll() command to the first testsocket so that the latter executions will be terminated before the first one terminated.
If I put it to the latter testsocket or the last one, the termination will be terminated and some executions will revive.
If I skip the wait function in the cleanup, the situation is not optimistic as my thought, the last testsocket will revive itself and back to the terminate command to send it again so that it makes me feel that it is better if I skipped the wait function.
The above is my unconfirmed idea, maybe it totally wrong, if someone can correct my understanding I would be greatly appreciated.
BTW, it is really special case, so we can take it easy, hope this will not add your loading and we can discuss freely as an amateur -
HT201317 my icloud now say applephotostream.exe not working how do i fix this?
my photo stopped streaming photos to my computer. My computer says applephotostream.exe not working it say I can go on line for a fix to the problem but it doesn't do any thing when I do this. I don't know how to fix this. Can someone please help.
Where from Apple did you download them? What happens when you try to launch iDVD?
OT -
Getting Web Start to use JDK's javaw.exe, not JRE's
On Windows, I need a Web Started app (actually, my Glossitope desklet) to run with the JDK's javaw.exe, not the JRE's, because I use the Java Compiler API, which is more or less a no-op in the JRE. I've tried using the Java Control Panel to change the Java Application Runtime Settings path to use the JDK path rather than the JRE's, but the change never takes. What, if anything, can I do to get JNLP's to run with the JDK?
Well, using ToolProvider is exactly what I'm trying to do. The program lets you type some Java code, then compiles it and runs it (with help from a custom class-loader). The problem is that when run from Web Start on Windows, ToolProvider.getSystemJavaCompiler() returns null. I can see from the Control Panel that Web Start's path to Java uses the JRE path, not the JDK, and I suspect that's the reason I'm getting null for the compiler.
I suspect bundling the tools jar is exactly what I need to do, and I also suspect the license forbids that.
Works great on the Mac, FWIW.
Thanks for the reply.
--Chris
Maybe you are looking for
-
Neither clicking on the + sign for a new tab or trying Control+T will open a new tab. How do I fix?
-
Drag and drop from/to JTable
Hi, I am trying to implement drag and drop between two JTables. I have two questions about this and I hope you can help me. 1. I would like to prevent the user from droping an Object in the same JTable as the object came from in the first place. How
-
hi experts, I want to clear my basic concepts here. I want to know the order of the sql operation. actually the problem with me that i have read from different blog and websites about the order of operation of the sqkl queries , hence i am confused h
-
Digital camera in the finder?
Hi all, new to mac from PC... I have an issue I can't figure out. On my Win XP machine, I can hook up my new Canon IS950 digital camera via USB and it shows up in My Computer as a drive. However, for some strange reason, OSX will not see it as a driv
-
Button Widget - Need it to jump to next slide, not simply continue
I'm new to Cp 5.5. I was an expert in Cp4 and prior versions, but due to work changes I've not worked with Captivate in a few years and am just getting back into it. Definitely things have changed! I setup a master slide and at the top-right I placed