Problem in jni getting object from methodst
a want to save an object gatin from java and save it into my list in c code
my probleme is when a call getobject more than one times it return null (in the first one it return the last object saved)
i dont understand why
this is my methods
to add object in my list
NIEXPORT void JNICALL Java_Matrice2_ajoutercell
(JNIEnv *env, jobject obj, jint lig, jint col,jobject objectadded){
AjouterCellule(objectadded ,lig,col,recupererAdresse(env,obj));
// this is a method created to save the ovject in my list
// ( in Ajoutercell a save my object like this
List->element = val;
struct list {....
jobject val
]*list;
the code work good if i use jint
--- and this is the method to getobject
JNIEXPORT jobject JNICALL Java_Matrice2_Getcell
(JNIEnv *env, jobject obj , jint lig, jint col){
return recuperercell(recupererAdresse(env,obj),lig,col);
// the method recuperercell get the object from my list
return List->valr;
i hope that some one can understand my code and help me
thanks ...
i use newglobalref and it work ; but i have to delete every ref created when i delete or modify an object
thanks to you
Similar Messages
-
RFC problem: could not get functionname from XML requst (sic)
I'm developing an interface that attempts to call a receiver RFC on an SAP 4.6c system. It's a very small simple interface, and it's all working until it tries to call the RFC. The error is
Exception caught by adapter framework: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not get functionname from XML requst: com.sap.aii.af.rfc.RfcAdapterException: failed to read funtionname from XML document: missing namespace declara
I've created an RFC channel, which is green in the adapter monitoring. The RFC imports without a problem, and appears in my interface mapping. My mapping program converts to the RFC message type (as evidenced in sxmb_moni. I have a receiver agreement referencing the interface mapping, which must be working as the mapping is called.
Could anyone point me to what else I could check? I saw a post about the same error message, where the respondent found something in the logs which helped them Could you expand on what you found, and in which log please? Any pointers as to which logging options I could switch on and check would be gratefully received.
Regards
Alan GrahamThanks for the responses.
I set up a communications channel of type RFC, which is
showing green in the adapter monitor. If I deliberately
break it, eg by changing the password, the adapter shows
as red in the monitor. I assume therefore that the
adaptor settings are correct.
The XML going to the adapter looks correct AFAIK. My problem is that I don't know enough about the requied XML to know if what I'm seeing in the logs is sufficient. In SXMB_MONI, in the 'call adapter' section of a failed message, the outbound binding includes
<SAP:ToInterfaceNamespace>urn:sap-com:document:sap:rfc:functions</SAP:ToInterfaceNamespace>/code]
Also, the interface determination SOAP header, in the MAIN section includes
[code]<SAP:Receiver>
<SAP:Party agency="" scheme="" />
<SAP:Service>D04</SAP:Service>
<SAP:Interface namespace="urn:sap-com:document:sap:rfc:functions">Z_MPU_3PSCE_FREIGHT_UPLOAD</SAP:Interface>
</SAP:Receiver>
These are the correct values for the RFC name and the namespace, AFAIK.
I'm using an interface mapping (which uses and ABAP class as the mapping program) which references the interface of the RFC. The logs tell me this works, ie, the class is called and the resulting XML appears in the payload of the response.
Alan -
Problem in Passing JTree object from Servlet pgm to browser
Dear all:
Can anybody help to resolve the problem - pass the JTree obejct from servlet (Tomcat) to IE 6.0. The JTree oject alway shows invalid charcter in IE. Following is my coding.
import java.io.*;
import java.awt.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.swing.*;
import java.net.URL;
import java.sql.*;
import java.lang.*;
import java.util.*;
import javax.swing.tree.*;
//* Testing1 give it null
public class SimpleServer extends HttpServlet
DefaultMutableTreeNode top;
DefaultMutableTreeNode EX01;
DefaultMutableTreeNode EX02;
DefaultMutableTreeNode QB01;
DefaultMutableTreeNode QB02;
DefaultMutableTreeNode N2BS;
DefaultMutableTreeNode N2TS;
//StringTokenizer st2, st1;
String query;
Connection con ;
Statement statm;
ResultSet res, backupRes;
//RowSet res, backupRes;
TreeSet treeset ;
String [] tempArray;
//ServletContext sc ;
ObjectOutputStream out ;
DefaultMutableTreeNode temp_node;
public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException
resp.setContentType("text/html");
// resp.setContentType("application/octet-stream");
System.out.println("create main node") ;
out = new ObjectOutputStream(resp.getOutputStream());
out.writeObject(this.set_NodeMain()); //no DB access,
public void doPost(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException
try
System.out.println("doPost " );
doGet(req,resp);
finally
public DefaultMutableTreeNode set_NodeMain()
top = new DefaultMutableTreeNode("Tandem");
EX01 = new DefaultMutableTreeNode("EX01");
EX02 = new DefaultMutableTreeNode("EX02");
QB01 = new DefaultMutableTreeNode("QB01");
QB02 = new DefaultMutableTreeNode("QB02");
N2BS = new DefaultMutableTreeNode("N2BS");
N2TS = new DefaultMutableTreeNode("N2TS");
top.add(EX01);
top.add(EX02);
top.add(QB01);
top.add(QB02);
top.add(N2BS);
top.add(N2TS);
return top;
}JMO - I hate seeing things like this in code:
Just use whitespace to separate the methods.
You can't just send a JTree to a browser. A browser has no idea how to render a Java object.
Put that JTree inside an applet and make it part of a JSP. That'll work.
MOD -
Problem in importing scenario objects from Development to Production in XI
Dear Gurus,
I have a certain probelm happening as follows:-
We have a 3 Sytem Landscape as follows :-
Client 400-Development ,
Client 500- Quality
Client 700 - Production
When he scenario (.tpz) files of directory and integration server are transported from 200 - 500 , (ie .tpz files are transferred from the export folder of directory and repository server to import folder of directory and repository server via FTP) the scenario is visible in the namespace in 500 .
The same when followed in 700 , after importing the objects from the import options under tools in repository as well as directory , the objects are not imported under the specified namespace in it's SWCV.
Please suggest what could be done !!!!
PS: We have deployed XI 3.5.Hi Ashish,
I hope you have done ftp from 500 to 700 instead of 400 to 700. If yes then I dont think you should run into any of these issues. Also when it is done are the objects available in import and export folders of client 700 which is your production. If yes then try to import them in production. Also make sure you dont have anything in your change list. If you have something under the change list then you may run into some issues. Also look at this blog for the folder loactions:
/people/sap.india5/blog/2005/11/09/xi-software-logistics-ii-overview
Regards,
---Satish -
Problem when passing an object from Illustrator to Photoshop inCS5 pack
Hello, since I have a new system I have this problem in Illustrator. When I try to pass and Icon for example, from illustrator to photoshop my Illustrator crashes. Even whe I try to save my work somethimes Illustrator crashes. I didn't had this problem with my old computer usineg the same pack CS5 the passing of a file from illutrator to photoshop took about 3 seconds. Please help me, my work is becoming frustrating beacause of this.
Here are the System details:
Photoshop
Adobe Photoshop Version: 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch]) x32
Operating System: Windows 7 64-bit
Version: 6.1 Service Pack 1
System architecture: Intel CPU Family:6, Model:10, Stepping:9 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
Physical processor count: 8
Processor speed: 3392 MHz
Built-in memory: 16332 MB
Free memory: 8674 MB
Memory available to Photoshop: 3255 MB
Memory used by Photoshop: 78 %
Image tile size: 1028K
Image cache levels: 5
OpenGL Drawing: Disabled.
OpenGL Drawing Mode: Basic
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: False.
OpenGL Crash File: Not Detected.
OpenGL Allow Old GPUs: Not Detected.
Video Card Vendor: NVIDIA Corporation
Video Card Renderer: GeForce GTX 650/PCIe/SSE2
Display: 2
Display Bounds:= top: 0, left: 1920, bottom: 1200, right: 3840
Display: 1
Display Bounds:= top: 0, left: 0, bottom: 1200, right: 1920
Video Card Number: 1
Video Card: NVIDIA GeForce GTX 650
Driver Version: 9.18.13.1106
Driver Date: 20130118000000.000000-000
Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
Video Mode: 1920 x 1200 x 4294967296 colors
Video Card Caption: NVIDIA GeForce GTX 650
Video Card Memory: 1024 MB
Serial number: 92278816315259434402
Application folder: C:\Program Files (x86)\Adobe\Adobe Photoshop CS5\
Temporary file path: C:\Users\Mircea\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
D:\, 150.0G, 149.7G free
C:\, 238.5G, 89.0G free
Primary Plug-ins folder: C:\Program Files (x86)\Adobe\Adobe Photoshop CS5\Plug-ins\
Additional Plug-ins folder: not set
Installed components:
A3DLIBS.dll A3DLIB Dynamic Link Library 9.2.0.112
ACE.dll ACE 2010/10/04-23:36:11 64.441628 64.441628
adbeape.dll Adobe APE 2010/02/23-12:40:58 61.421986 61.421986
AdobeLinguistic.dll Adobe Linguisitc Library 5.0.0
AdobeOwl.dll Adobe Owl 2010/06/03-13:43:23 3.0.93 61.433187
AdobeOwlCanvas.dll Adobe Owl Canvas 3.0.68 61.2954
AdobePDFL.dll PDFL 2010/12/13-23:37:10 64.341419 64.341419
AdobePIP.dll Adobe Product Improvement Program 5.0.0.2021
AdobeXMP.dll Adobe XMP Core 5.0 61.134777
AdobeXMPFiles.dll Adobe XMP Files 5.0 61.134777
AdobeXMPScript.dll Adobe XMP Script 5.0 61.134777
adobe_caps.dll Adobe CAPS 3,0,116,0
adobe_OOBE_Launcher.dll Adobe OOBE Launcher 1.0.0.64 (BuildVersion: 1.0; BuildDate: Mon Jan 26 2010 21:49:00) 1.000000
AFlame.dll AFlame 2010/02/23-17:27:33 61.421976 61.421976
AFlamingo.dll AFlamingo 2010/02/23-17:27:33 61.421978 61.421978
AGM.dll AGM 2010/10/04-23:36:11 64.441628 64.441628
ahclient.dll AdobeHelp Dynamic Link Library 1,5,0,30
aif_core.dll AIF 2.0 53.422628
aif_ogl.dll AIF 2.0 53.422628
amtlib.dll AMTLib 3.0.0.64 (BuildVersion: 3.0; BuildDate: Mon Jan 26 2010 21:49:00) 1.000000
amtservices.dll AMTServices 3.0.0.64 (BuildVersion: 3.0; BuildDate: Mon Jan 26 2010 21:49:00) 1.000000
ARE.dll ARE 2010/10/04-23:36:11 64.441628 64.441628
asneu.dll AsnEndUser Dynamic Link Library 1, 7, 0, 1
AXE8SharedExpat.dll AXE8SharedExpat 2010/02/23-17:27:33 61.421978 61.421978
AXEDOMCore.dll AXEDOMCore 2010/02/23-17:27:33 61.421978 61.421978
Bib.dll BIB 2010/10/04-23:36:11 64.441628 64.441628
BIBUtils.dll BIBUtils 2010/10/04-23:36:11 64.441628 64.441628
boost_threads.dll DVA Product 5.0.0
cg.dll NVIDIA Cg Runtime 2.0.0015
cgGL.dll NVIDIA Cg Runtime 2.0.0015
CoolType.dll CoolType 2010/10/04-23:36:11 64.441628 64.441628
data_flow.dll AIF 2.0 53.422628
dvaadameve.dll DVA Product 5.0.0
dvacore.dll DVA Product 5.0.0
dvaui.dll DVA Product 5.0.0
ExtendScript.dll ExtendScript 2010/10/19-10:22:12 61.445301 61.445301
FileInfo.dll Adobe XMP FileInfo 5.0 61.134777
icucnv36.dll International Components for Unicode 2009/06/17-13:21:03 Build gtlib_main.9896
icudt36.dll International Components for Unicode 2009/06/17-13:21:03 Build gtlib_main.9896
image_flow.dll AIF 2.0 53.422628
image_runtime.dll AIF 2.0 53.422628
JP2KLib.dll JP2KLib 2010/12/13-23:37:10 64.181312 64.181312
libeay32.dll The OpenSSL Toolkit 0.9.8g
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, 0, 1, 11
MPS.dll MPS 2010/12/13-23:37:10 64.450375 64.450375
msvcm80.dll Microsoft® Visual Studio® 2005 8.00.50727.4940
msvcm90.dll Microsoft® Visual Studio® 2008 9.00.30729.6161
msvcp71.dll Microsoft® Visual Studio .NET 7.10.3077.0
msvcp80.dll Microsoft® Visual Studio® 2005 8.00.50727.4940
msvcp90.dll Microsoft® Visual Studio® 2008 9.00.30729.6161
msvcr71.dll Microsoft® Visual Studio .NET 7.10.3052.4
msvcr80.dll Microsoft® Visual Studio® 2005 8.00.50727.4940
msvcr90.dll Microsoft® Visual Studio® 2008 9.00.30729.6161
pdfsettings.dll Adobe PDFSettings 1.04
Photoshop.dll Adobe Photoshop CS5 CS5
Plugin.dll Adobe Photoshop CS5 CS5
PlugPlug.dll Adobe(R) CSXS PlugPlug Standard Dll (32 bit) 2.0.0.746
PSArt.dll Adobe Photoshop CS5 CS5
PSViews.dll Adobe Photoshop CS5 CS5
SCCore.dll ScCore 2010/10/19-10:22:12 61.445301 61.445301
shfolder.dll Microsoft(R) Windows (R) 2000 Operating System 5.50.4027.300
ssleay32.dll The OpenSSL Toolkit 0.9.8g
tbb.dll Threading Building Blocks 2, 1, 2009, 0201
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 1.0.0.68 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 1.0.0.68
WRServices.dll WRServices Thursday January 21 2010 12:13:3 Build 0.11423 0.11423
wu3d.dll U3D Writer 9.3.0.113
Installed plug-ins:
3D Studio 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Accented Edges 12.0
ADM 3.11x01
Angled Strokes 12.0
Average 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Bas Relief 12.0
BMP 12.0.2
Camera Raw 6.7
Chalk & Charcoal 12.0
Charcoal 12.0
Chrome 12.0
Cineon 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Clouds 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Collada 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Color Halftone 12.0.2
Colored Pencil 12.0
CompuServe GIF 12.0.2
Conté Crayon 12.0
Craquelure 12.0
Crop and Straighten Photos 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Crop and Straighten Photos Filter 12.0.2
Crosshatch 12.0
Crystallize 12.0.2
Cutout 12.0
Dark Strokes 12.0
De-Interlace 12.0.2
Dicom 12.0
Difference Clouds 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Diffuse Glow 12.0
Displace 12.0.2
Dry Brush 12.0
Eazel Acquire 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Embed Watermark 4.0
Entropy 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Extrude 12.0.2
FastCore Routines 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Fibers 12.0.2
Film Grain 12.0
Filter Gallery 12.0
Fresco 12.0
Glass 12.0
Glowing Edges 12.0
Google Earth 4 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Grain 12.0
Graphic Pen 12.0
Halftone Pattern 12.0
HDRMergeUI 12.0
IFF Format 12.0.2
Ink Outlines 12.0
JPEG 2000 2.0
Kurtosis 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Lens Blur 12.0
Lens Correction 12.0.2
Lens Flare 12.0.2
Lighting Effects 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Liquify 12.0.1
Matlab Operation 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Maximum 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Mean 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Measurement Core 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Median 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Mezzotint 12.0.2
Minimum 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
MMXCore Routines 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Mosaic Tiles 12.0
Multiprocessor Support 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Neon Glow 12.0
Note Paper 12.0
NTSC Colors 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Ocean Ripple 12.0
OpenEXR 12.0.2
Paint Daubs 12.0
Palette Knife 12.0
Patchwork 12.0
Paths to Illustrator 12.0.2
PCX 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Photocopy 12.0
Photoshop 3D Engine 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Picture Package Filter 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Pinch 12.0.2
Pixar 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Plaster 12.0
Plastic Wrap 12.0
PNG 12.0.2
Pointillize 12.0.2
Polar Coordinates 12.0.2
Portable Bit Map 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Poster Edges 12.0
Radial Blur 12.0.2
Radiance 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Range 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Read Watermark 4.0
Reticulation 12.0
Ripple 12.0.2
Rough Pastels 12.0
Save for Web & Devices 12.0
ScriptingSupport 12.0.4
Send Video Preview to Device 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Shear 12.0.2
Skewness 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Smart Blur 12.0.2
Smudge Stick 12.0
Solarize 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Spatter 12.0
Spherize 12.0.2
Sponge 12.0
Sprayed Strokes 12.0
Stained Glass 12.0
Stamp 12.0
Standard Deviation 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Sumi-e 12.0
Summation 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Targa 12.0.2
Texturizer 12.0
Tiles 12.0.2
Torn Edges 12.0
Twirl 12.0.2
U3D 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Underpainting 12.0
Vanishing Point 12.0
Variance 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Variations 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Video Preview 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Water Paper 12.0
Watercolor 12.0
Wave 12.0.2
Wavefront|OBJ 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
WIA Support 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Wind 12.0.2
Wireless Bitmap 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
ZigZag 12.0.2
Plug-ins that failed to load: NONE
Flash:
Flash
Mini Bridge
Access CS Live
CS News and Resources
Flash
Kuler
CS Review
Installed TWAIN devices: NONE
Illustrator:
Components:
ACE 2010/06/28-18:09:25 61.435133 61.435133
Adobe APE 2010/02/23-12:40:58 61.421986 61.421986
Adobe Linguisitc Library 5.0.0
Adobe Owl 2010/03/08-15:17:17 3.0.89 61.423383
Adobe Owl Canvas 3.0.68 61.2954
PDFL 2010/10/18-23:35:06 64.341419 64.341419
Adobe Product Improvement Program 5.0.0.2021
AdobePSL 64.699054_12.664233 64.699054_12.664233
Adobe XMP Core 5.0 61.134777
Adobe XMP Files 5.0 61.134777
Adobe XMP Script 5.0 61.134777
Adobe CAPS 3,0,116,0
Adobe OOBE Launcher 1.0.0.64 (BuildVersion: 1.0; BuildDate: Mon Jan 26 2010 21:49:00) 1.000000
AFL 1.0
AFlame 2010/10/04-23:36:11 64.443603 64.443603
AFlamingo 2010/10/04-23:36:11 64.436825 64.436825
AGM 2010/06/28-18:09:25 61.435133 61.435133
AdobeHelp Dynamic Link Library 1,5,0,30
AIPort 1.0 23.68434
Adobe EPIC 3.0.1.10077 (BuildVersion: 53.352460; BuildDate: Tue Jul 29 2008 16:47:08) 53.352460
AMTLib 3.0.0.64 (BuildVersion: 3.0; BuildDate: Mon Jan 26 2010 21:49:00) 1.000000
AMTServices 3.0.0.64 (BuildVersion: 3.0; BuildDate: Mon Jan 26 2010 21:49:00) 1.000000
ARE 2010/06/28-18:09:25 61.435133 61.435133
Adobe Illustrator 1.0
AsnEndUser Dynamic Link Library 1, 7, 0, 1
Unknown Name
AXE8SharedExpat 2010/02/23-17:27:33 61.421978 61.421978
AXEDOMCore 2010/02/23-17:27:33 61.421978 61.421978
AXSLE 2010/02/23-17:27:33 61.421978 61.421978
BIB 2010/06/28-18:09:25 61.435133 61.435133
BIBUtils 2010/06/28-18:09:25 61.435133 61.435133
DVA Product 5.0.0
DVA Product 5.0.0
DVA Product 5.0.0
DVA Product 5.0.0
DVA Product 5.0.0
DVA Product 5.0.0
DVA Product 5.0.0
CoolType 2010/06/28-18:09:25 61.435133 61.435133
DVA Product 5.0.0
DVA Product 5.0.0
DVA Product 5.0.0
DVA Product 5.0.0
ExtendScript 2010/03/05-08:21:15 61.423205 61.423205
Adobe XMP FileInfo 5.0 61.134777
FilterPort 1.1 61.435133
Microsoft® Windows® Operating System 6.1.7601.18120
International Components for Unicode 2009/12/05-11:25:03 Build gtlib_main.11277
International Components for Unicode 3, 4, 0, 0
International Components for Unicode 2009/12/05-11:25:03 Build gtlib_main.11277
International Components for Unicode 2009/12/05-11:25:03 Build gtlib_main.11277
International Components for Unicode 3, 4, 0, 0
International Components for Unicode 2009/12/05-11:25:03 Build gtlib_main.11277
JP2KLib 2010/02/24-17:43:58 61.131544 61.131544
Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 10.0
LogSession 2, 0, 1, 11
MPS 2010/02/24-17:43:58 61.421978 61.421978
Microsoft (R) Visual C++ 6.00.8168.0
Microsoft® Visual Studio .NET 7.10.3077.0
Microsoft® Visual Studio® 2005 8.00.50727.42
Microsoft® Visual Studio .NET 7.10.3052.4
Microsoft® Visual Studio® 2005 8.00.50727.42
Microsoft® Visual C++ 2.10.000
Microsoft® Visual C++ 4.00.5270
PDFPort 2010/06/28-18:09:25 61.435133 61.435133
Adobe PDFSettings 1.04
Adobe Photoshop CS5 CS5
Adobe(R) CSXS PlugPlug Standard Dll (32 bit) 2.0.1.127
Adobe India Sangam Core Code 2010/02/03-18:48:35 61.129109 61.129109
Adobe India SangamML Import from Sangam 2010/02/03-18:48:35 61.129109 61.129109
ScCore 2010/03/05-08:21:15 61.423205 61.423205
Microsoft® Windows® Operating System 6.00.2600.0000
SVGExport 6, 0, 0, 0 1.0
SVGRE 6, 0, 0, 0 1.0
Adobe Updater Notifications Library 1.0.0.68 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 1.0.0.68
WRServices Thursday January 21 2010 12:13:3 Build 0.11423 0.11423
ATE
OS: Windows
Version: 6.1
System Architecture: x86
Built-In Memory: 4043 MB
Application Folder:
C:\Program Files (x86)\Adobe\Adobe Illustrator CS5\Support Files\
Primary Scratch Folder:
C:\AITEMP\
Secondary Scratch Folder:
D:\AITEMP\
Plug-ins:
Live Menu Item
Adobe AI Application Plugin
Control Groups
Color Conversion
Composite Fonts
New Cache Plugin
AdobeLicenseManager
ZStringTable
Window Menu
Main Filters
Main File Formats
File Format Place EPS
AI File Format
Debug Menu
SLO Text Tool
Mesh Object
Document Window Plugin
Sweet Pea 2 Adapter Plugin
ADM Plugin
ASLib
AdobeActionManager
AILocalized Resources Plugin
FrameworkS
Art Converters v2
FlattenTransparency
FO Conversion Suite
Pathfinder Suite
PDF Suite
BRS Pencil Tool
Rasterize 8
AdobeSlicingPlugin
AdobeActionPalette
BeautifulStrokes Suite
AdobeBrushMgr
Adobe Color Harmony Plugin
Control Palette Plugin
Adobe Deform Plugin
AdobeLayerPalette
Adobe Planar Edit Plugin
AdobePaintStyle
PathConstruction Suite
AdobeSwatch_
AdobeToolSelector
Adobe Tracing Object
Adobe Custom Workspace
AdobeDiffusionRaster
Snapomatic
Adobe Geometry Suite
Flatten Suite
ShapeConstruction Suite
ExpandS
SWFExport
Photoshop Plugin Adapter Targa
Photoshop Plugin Adapter PNG
Photoshop Plugin Adapter Pixar
Photoshop Plugin Adapter PCX
Photoshop Plugin Adapter BMP
Photoshop Plugin Adapter Unsharp Mask...
Photoshop Plugin Adapter Smart Blur...
Photoshop Plugin Adapter Radial Blur...
Photoshop Plugin Adapter Pointillize...
Photoshop Plugin Adapter NTSC Colors
Photoshop Plugin Adapter Mezzotint...
Photoshop Plugin Adapter Gaussian Blur...
Photoshop Plugin Adapter De-Interlace...
Photoshop Plugin Adapter Crystallize...
Photoshop Plugin Adapter Color Halftone...
Photoshop Plugin Adapter Texturizer...
Photoshop Plugin Adapter Stained Glass...
Photoshop Plugin Adapter Patchwork...
Photoshop Plugin Adapter Mosaic Tiles...
Photoshop Plugin Adapter Grain...
Photoshop Plugin Adapter Craquelure...
Photoshop Plugin Adapter Glowing Edges...
Photoshop Plugin Adapter Water Paper...
Photoshop Plugin Adapter Torn Edges...
Photoshop Plugin Adapter Stamp...
Photoshop Plugin Adapter Reticulation...
Photoshop Plugin Adapter Plaster...
Photoshop Plugin Adapter Photocopy...
Photoshop Plugin Adapter Note Paper...
Photoshop Plugin Adapter Halftone Pattern...
Photoshop Plugin Adapter Graphic Pen...
Photoshop Plugin Adapter Cont^e Crayon...
Photoshop Plugin Adapter Chrome...
Photoshop Plugin Adapter Charcoal...
Photoshop Plugin Adapter Chalk && Charcoal...
Photoshop Plugin Adapter Bas Relief...
Photoshop Plugin Adapter Ocean Ripple...
Photoshop Plugin Adapter Glass...
Photoshop Plugin Adapter Diffuse Glow...
Photoshop Plugin Adapter Sumi-e...
Photoshop Plugin Adapter Sprayed Strokes...
Photoshop Plugin Adapter Spatter...
Photoshop Plugin Adapter Ink Outlines...
Photoshop Plugin Adapter Dark Strokes...
Photoshop Plugin Adapter Crosshatch...
Photoshop Plugin Adapter Angled Strokes...
Photoshop Plugin Adapter Accented Edges...
Photoshop Plugin Adapter Watercolor...
Photoshop Plugin Adapter Underpainting...
Photoshop Plugin Adapter Sponge...
Photoshop Plugin Adapter Smudge Stick...
Photoshop Plugin Adapter Rough Pastels...
Photoshop Plugin Adapter Poster Edges...
Photoshop Plugin Adapter Plastic Wrap...
Photoshop Plugin Adapter Palette Knife...
Photoshop Plugin Adapter Paint Daubs...
Photoshop Plugin Adapter Neon Glow...
Photoshop Plugin Adapter Fresco...
Photoshop Plugin Adapter Film Grain...
Photoshop Plugin Adapter Dry Brush...
Photoshop Plugin Adapter Cutout...
Photoshop Plugin Adapter Colored Pencil...
Photoshop Plugin Adapter Filter Gallery...
Twirl v2
AdobeBuiltInToolbox
Adobe Symbolism
Simplify
ShapeTool
Segment Tools
Adobe Scatter Brush Tool
Reshape Tool
Magic Wand
Liquify
Lasso
Knife Tool
Adobe Flare Plugin
AdobeTextDropper
Adobe Eraser Tool
Adobe dBrush Brush Tool
Adobe Crop Tool
Adobe Calligraphic Brush Tool
BoundingBox
AdobeArtBrushTool
Smart Punctuation
TxtColumns
Spell Check Dictionary
Spell Check UI
Find Replace UI
TextFindFont
TypeCase
Adobe PSD File Import
Adobe PSD File Export
Photoshop Adapter
PerspectiveUI
TIFF File Format
PNG File Format
MPSParser
MPSExport
MPSCommon
Mojikumi UI
FXG UI
FXG
Adobe DXFDWG Format
ZigZag v2
Scribble v2
TextWrap Dlg
ShapeEffects v2
Adobe Scribble Fill
Saturate
Round v2
Roughen v2
Punk v2
AdobePathfinderPalette
Overprint
OffsetPath v2
AI Object Mosaic Plug-in
MaskHelper v2
Inverse
FuzzyEffect v2
Distort v2
Find
Expand
DropShadow
TrimMark v2
Colors
Cleanup
Adjust
AddArrowHeads v3
Add Anchor Points
Adobe Welcome Screen
AdobeTransparencyEditor
AdobeTransformObjects
Transform v2
Adobe Tracing UI
Adobe Symbol Palette Plugin
SVG Filter Effect v2
Stroke Offset v2
Services
SeparationPreviewPlugin
Scripts Menu
ScriptingSupport
Print Plugin
Adobe Perspective Guides
Adobe Nudge
AdobeNavigator
Adobe Path Blends
AdobeLinkPalette
Kinsoku Dlg
KBSC Plugin
GradientMeshPlugin
Flattening Preview
FileClipboardPreference
DocInfo
Character and Paragraph Styles
AI Bottlenecks Plugin
Asset Management
AdobeArtboardPanel
Adobe Art Style Plugin
Adobe App Bar Controls Host
Alternate Glyph Palette
AdobeAlignObjects
3D v2
PDF File Format
ADMEveParser PlugHi Mylenium,
The program just loads useless to use your words when I try to pass a file from Illustrator to Photoshop and when I click anywhere in Illustrator I get Program "Not responding" it doesn't crashes (stops) it stais opened but it doesn't do anything so I need to close it by force from task manager because I can't do anything with it.... Once I left it over night to save an important file and just in the morning I managed to do that so after a while it comes round but all the time there are different periouds of pending. Anyway this is not normal and I should be able to use the program in normal parameters with a powerful system.
I don't have any processor over load in the task manager I don't have anything unusual that indicates an over load of information, that's my problem. My guess is that I have a system incompatibility but I don't know where so that's why I asked for Adobe's help. Again I didn't had this problem using the same pack (CS5) with a less powerful system...
If there are any creash logs pelase tell me where can I find them ? -
JDev 10g: Problem when generating database objects from UML diagram
Hi,
I have noticed following problem.
I made some business components through UML diagrammer in 9.0.3. From the diagram I generated database objects. It worked fine.
When I doing the same thing in 10g, the generation fails on several tables with the message that the "identifier is too long".
Looking at the SQL produced in one of the failing tables. In 9.0.3 following is produced:
create table sfs_document_def (
id number constraint document_definition_id_check not null,
caption varchar2(100) constraint document_definition_caption_ch not null,
index1 number,
owner_type number constraint document_definition_owner_type not null
alter table sfs_document_def add (constraint documentdefinition_primary_key primary key (id));
And in 10g following is produced:
create table sfs_document_def (
id number,
caption varchar2(100) constraint sfs_document_def_caption_check not null,
index1 number,
owner_type number constraint sfs_document_def_owner_type_ch not null
alter table sfs_document_def add ( constraint documentdefinition_primary_key primary key (id));
alter table sfs_document_def add ( constraint document_definition_id_check check ("id" is not null));
alter table sfs_document_def add ( constraint sfs_document_def_caption_check_10 check ("caption" is not null));
alter table sfs_document_def add ( constraint sfs_document_def_owner_type_ch_10 check ("owner_type" is not null));
It seems that column that are set not to be null in 10 g first get a constraint creating the table and then when altering the table. Furthermore, notice that the name of the second constraint is longer than 30 chars, which is reason to the error when creating the tables.Thanks for reporting the issue. I have managed to reproduce your problem and logged a bug to get the problem fixed.
Thanks,
Lisa Sherriff
JDev QA -
Problem while sending seriailized object from applet to servlet
Hi I m having Object communication between Applet and Servlet.
I m getting error stack trace as
java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Source)
at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
at java.io.ObjectInputStream.<init>(Unknown Source)
at com.chat.client.ObjectClient.write(ObjectClient.java:56)
at the line
ObjectInputStream ois = new ObjectInputStream(conn.getInputStream());
thanks in advance
Ravi
the whole code is as follows....
public Serializable write(Serializable obj) throws IOException,ClassNotFoundException{
URLConnection conn = serverURL.openConnection();
conn.setDoOutput(true);
conn.setDoInput(true);
conn.setUseCaches(false);
conn.setRequestProperty("Content-Type", "java-internal/"+obj.getClass().getName());
conn.connect();
ObjectOutputStream oos= null;
try{
oos = new ObjectOutputStream(
conn.getOutputStream());
oos.writeObject(obj);
catch(Exception ee){
ee.printStackTrace();
finally{
if(oos!=null){
oos.flush();
oos.close();
return the reponse to the client
ObjectInputStream ois=null;
try{
\\this is the line where i m getting the error
ois = new ObjectInputStream(conn.getInputStream());
return (Serializable)ois.readObject();
catch(Exception ee){
System.out.println("Error in Object Client inputstream ");
ee.printStackTrace();
return null;
finally{
if(ois!=null){
ois.close();Did anyone find a fix to this problem. I am having a similiar problem. Sometimes I receive an EOFException and othertimes I don't. When I do receive an EOFException I check for available() in the stream and it appears 0 bytes were sent to the Servlet from the Applet.
I am always open to produce this problem when I use File->New in IE my applet loads on the new page.. and then I navigate to a JSP sitting on the same application server. When I go to the Applet on the initial page and try to send an object to the server I get an EOFException. No idea! -
Problem with fetching Map object from ObjectInputStream
Hi, please can you help me with the following...I've never seen this before (with my limited experience of JDK1.5)
ObjectInputStream is = new ObjectInputStream(new FileInputStream(store));
Map<Integer, Report> readObject = (Map<Integer, Report>) is.readObject();This code gives me a warning...
Type safety: The cast from Object to Map<Integer,Report> is actually checking against the erased type Map
How can I get rid of this warning?ByteArrayOutputStream baos = new ByteArrayOutputStream();
ObjectOutputStream oos = new ObjectOutputStream( baos );
List<String> list = new LinkedList<String>();
list.add( "one" );
list.add( "two" );
oos.writeObject( list );
oos.flush(); oos.close();
ObjectInputStream ois = new ObjectInputStream
( new ByteArrayInputStream( baos.toByteArray() ) );
List<String> list2 = (List<String>)ois.readObject();Give me 1 compile time error (Test.java:109: warning: [unchecked] unchecked cast), and no runtime errors.
Removing the <String> from "list" add some more [uncheked], but still runs fine (no runtime warning). Adding a none-String only causes a problem when I try to "get" it. (class cast).
When do you get this warning? -
OBIEE+ Problems trying to import objects from Active Directory
Hi
I'm trying to import my users from my Active Directory using the Administration Tool.
If I give the Base DN to point to the Users entry and I get that It doesn't have any objects to import.
If I give the Base DN to point to the parent folder of Users and Groups entry I get
LDAP server referral not supported.
Any configurations that I have to take in consideration?Henrik,
I've found other problems where OWB adds a space between all characters returned from SQL*Server which is what is happening in your case, although it is being displayed as a square box.
In one of these cases the problem was fixed by using the 11.2.0.2 OWB so would it be possible for you to try with that version ?
Also, as the problem is not with the gateway itself as you can select successfully using a database link then it would be better to follow up in the OWB forum -
Forum: Warehouse Builder
Warehouse Builder
as they will be able to help with the OWB side of the problem.
Regards,
Mike -
Problem in transporting the objects from Q to P
Hi,
I am trying to transport ds, is, DSO from Q to P. But it ended with errors. Below are the error messages.
Extract structure ZOXDS20119 is not active
The extract structure ZOXDS20119 of the DataSource ZDS_BILLCHANGE is invalid
ZDS_BILLCHANGE is created in BW itself using View with Generic extraction. So please update me how I can solve this problem.hi,
Send you DS in a separate TR to P and then replicate you datasource in P.
Then send the objects in other request so that i will not fail again. -
Problem in Accessing User Objects from ADS
hi,
I am trying to search for the users from the root domain exchange.com in Active Directory Service
I am getting an exception like this
javax.naming.PartialResultException: Unprocessed Continuation Reference(s); rema
ining name 'dc=exchange,dc=com'
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2695)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2669)
at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1757)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1680)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirCon
text.java:368)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCom
positeDirContext.java:328)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCom
positeDirContext.java:313)
at javax.naming.directory.InitialDirContext.search(InitialDirContext.jav
a:238)
at SearchActive.main(SearchActive.java:55)
The Code I used is as follows
import javax.naming.*;
import javax.naming.directory.*;
import java.util.Hashtable;
import java.util.Enumeration;
public class SearchActive
public static void main(String[] args)
// rechargement de l'environnement de l'initialisation du context
DirContext ctx = null;
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
env.put(Context.PROVIDER_URL, "ldap://200.200.200.12/");
env.put(Context.SECURITY_AUTHENTICATION,"simple");
env.put(Context.SECURITY_PRINCIPAL,"200.200.200.12\\Administrator");
// specify the username
// env.put(Context.SECURITY_CREDENTIALS,"digactive");
// specify the password
try {
// Crer le context initial
ctx = new InitialDirContext(env);
System.out.println("8");
SearchControls cons = new SearchControls();
cons.setSearchScope(SearchControls.SUBTREE_SCOPE);
NamingEnumeration answer = ctx.search("dc=exchange,dc=com","objectclass=user",cons);
while(answer.hasMore())
SearchResult result = (SearchResult)answer.next();
Attributes rattr = result.getAttributes();
for(NamingEnumeration ne = rattr.getAll();ne.hasMore();)
Attribute natt = (Attribute)ne.next();
String sid = natt.getID();
for(Enumeration vals = natt.getAll();vals.hasMoreElements();)
System.out.println(sid+": "+vals.nextElement());
catch(Exception e)
e.printStackTrace();
Can anybody tell me where is the problem
Thanks
ThiruHi, all
Please help me to check where is wrong for the code to access LDAP and get a user's email address.
The code is shown below.
It works before calling ctx.getAttributes, and it shows the error msg as below after calling ctx.getAttributes.
"Problem getting attribute:javax.naming.NamingException: [LDAP: error code 1 - 00000000: LdapErr: DSID-0C0905FF, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, veceFinished executing"
I don't know if the getAttributes parameter setting is wrong or the env constant setting wroong.
package com.mycompany;
import java.io.*;
import java.util.*;
import javax.naming.Context;
import javax.naming.directory.InitialDirContext;
import javax.naming.directory.DirContext;
import javax.naming.directory.Attributes;
import javax.naming.NamingException;
public class aaa
public static void main(String args[]) throws Exception
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"com.sun.jndi.ldap.LdapCtxFactory");
env.put(Context.PROVIDER_URL, "ldap://mycompany.com");
env.put(Context.SECURITY_AUTHENTICATION,"simple");
env.put(Context.SECURITY_PRINCIPAL,"mycompany.com/Administrator/");
env.put( Context.REFERRAL, "follow" );
try
System.out.println("0");
// Create the initial directory context
DirContext ctx = new InitialDirContext(env);
System.out.println("1");
Attributes attrs = ctx.getAttributes("cn=andym,cn=Users,dc=mycompany,dc=com");
System.out.println("mail: " + attrs.get("mail").get());
catch (NamingException e)
System.err.println("Problem getting attribute:" + e); -
Updation problem while creating multiple objects from enterprise portal
Hi All,
From enterprise portal i am calling an RFC 'BAPI_PROJECT_MAINTAIN' to create objects .
While trying to create multiple objects simultaneously it gives error "sapuser is currently using, can't be created".
It seems like as i am creating multiple objects by calling RFC repeatedly , while the first one is not updated fully i am sending the second value to be processed.
Pl. tell me how to overcome this. Do I need to add any sleep time in EP or any other method is there in SAP to overcome this situation.
thanks
sandeepDear Sandeep,
I have discussed this problem with EP team lead in my organisation, i have given your email id to him he will forward the solution on your id.
If usefull reward points helpfull....
Regards,
Rajneesh Gupta -
Hi guys, first post, needless to say im a student :].
Here's my problem:
Firstly i create an ArraySet as follows: SetADT myDeckOfCards = new ArraySet();I then add 52 "playing cards" to the set like so : myDeckOfCards = CreateCards(myDeckOfCards, "Hearts");The CreateCards method creates objects of type Card and adds them to the Deck set.
The Cards class has three values: type, value and suite.
Now my problem is I need to remove cards and then gain access to their attributes.
I thought i could go:
Card myNewCard = Card();
myNewCard = myDeckOfCards.removeRandom();...but this has an error 'incompatible types'. If i assign the randomCard to an object is works fine but then i don't have access to the Card methods.
How would I get the Cards stored in myDeckOfCards as Card objects and not just Objects?
I tried casting but had no luck there either.
Any help would be much appreciated, I realise this is probably something really stupid ><.
Thanks
Endo
Edited by: EnduranceMan on Nov 26, 2008 3:47 PMDoh!
Just got it working, my casting syntax was a bit off. Until next time :] -
Design Problem When SSIS Get String From Web to Do Fuzzy Lookup
Hi!
In my previous post Search Data by Fuzzy Lookup in Real Time
Scenario, I've tested required functions to build a sample website and SSIS, now it's time to polish my design. Since user will query a name from Web, SSIS is supposed to get a string to do
Fuzzy Lookup. I wonder how I can design to let fuzzy lookup consume String as input instead of a structure (like OLE DB, EXCEL, Flat File, etc ) .
Now I use table as datasource to do a fake input. The SQL_CMD variable will dynamically be replaced from Web input. It seems Fuzzy Lookup component needs a structure to be an input.
Do you have any design idea for my scenario ? Thank you!How are you executing the fuzzy lookup package ? Is it using command line or using asp.net code ?
In SSIS package we can create variables and assign any strings to these variables while running the ssis package in asp.net.
Refer
http://www.codeproject.com/Articles/28096/Excecute-SSIS-package-DTSX-from-ASP-Net
Also have you gone through SOUNDEX option of TSQL
http://www.tek-tips.com/faqs.cfm?fid=4110
Regards, RSingh -
Permission problem calling a java object from a store procedure
When I run my store procedure
CREATE OR REPLACE PACKAGE BODY confirms_write_to_file
AS
FUNCTION translate(in_en_var in VARCHAR2)
RETURN VARCHAR2
AS LANGUAGE JAVA
NAME 'translate.translatePath(java.lang.String) return java.lang.String';
PROCEDURE write_to_file(in_file_name IN VARCHAR, in_en_var IN VARCHAR)
IS
file_handle UTL_FILE.FILE_TYPE;
file_location VARCHAR2(50);
BEGIN
file_location := translate(in_en_var);
dbms_output.put_line ('opened file location' ||file_location);
END write_to_file;
END confirms_write_to_file;
I get the following error:
exec confirms_write_to_file.write_to_file('zzzz','$RIMS_LOG');
SQL> exec confirms_write_to_file.write_to_file('zzzz','$RIMS_LOG');
Exception java.security.AccessControlException: the Permission
(java.io.FilePermission <<ALL FILES>> execute) has not been granted by
dbms_java.grant_permission to
SchemaProtectionDomain(RIMS|PolicyTableProxy(RIMS))
opened file locationProcess problem
PL/SQL procedure successfully completed.
When I try to to grant myself the permissions
begin
dbms_java.grant_permission('rims','java.io.FilePermission','*','execute');
dbms_java.grant_permission('rims', 'java.lang.RuntimePermission', '*','writeFileDescriptor' );
end;
I get the following Error:
oracle.aurora.vm.IdNotFoundException: rims is not a user or role
at oracle.aurora.rdbms.DbmsRealm.getId(DbmsRealm.java)
at oracle.aurora.rdbms.DbmsRealm.getId(DbmsRealm.java)
at
oracle.aurora.rdbms.security.PolicyTableManager.findAll(PolicyTableManager.java)
at oracle.aurora.rdbms.security.PolicyTableManager.find(PolicyTableManager.java)
at
oracle.aurora.rdbms.security.PolicyTableManager.activate(PolicyTableManager.java
at
oracle.aurora.rdbms.security.PolicyTableManager.grant(PolicyTableManager.java)
begin
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
oracle.aurora.vm.IdNotFoundException: rims is not a user or role
ORA-06512: at "SYS.DBMS_JAVA", line 0
ORA-06512: at line 2
My java code is as follows
import java.io.*;
import java.util.*;
class translate
public static String translatePath(String envar)
Runtime rt = Runtime.getRuntime();
int bufSize = 4096;
byte buffer[] = new byte[bufSize];
String path = null;
Process p = null;
int len = 0;
try
p = rt.exec("echo "+envar);
BufferedInputStream bis = new BufferedInputStream(p.getInputStream());
while ((len = bis.read(buffer, 0, bufSize)) != -1)
System.out.write(buffer, 0, len);
path = new String(buffer);
p.waitFor();
catch(Exception e)
System.out.println("Exception "+e);
return "Process problem ";
return path;Tony,
I answered this very same question that you posted at the JavaRanch forum.
Good Luck,
Avi.
Maybe you are looking for
-
Cannot send emails from iCloud account on any of my devices.
Hi all, Since last week, my iCloud account has seemed to lose the ability to send emails. I am using: 10.10.02 Yosemite on Macbook pro 17" iOS 8.1.3 iPhone 5S iOS 8.1.2 iPad 3rd Gen This issue did not happen all at once, it has taken several days for
-
How do I find the "new" item in iCal
My iCal tells me there is one new event, the badge shows up by the icon in the task bar, and the calendar name has (1) next to it. I would like to "read" or mark this event as "not new". The problem is, I don't know which one it is or how to locate i
-
HELP! CAN'T RESTORE!
I try restoring my 8gig ipod touch and I recieve the error message "the ipod could not be restored. the device is not eligible for the requested build." so i looked online and found someone who had the same problem and tried doing what they said work
-
Hi experts, Can any one tell me what is the exact table to display "Material aging"? points guaranteed cheers kaki
-
Can only have audio conversations with other iChat AV 3.0 users
so, since i updated my ancient powerbook to 10.4, i can no longer hold audio conversations with ANYONE other than people that have iChat AV. no one on aim, trillian, iChat under 3.0. through some digging, ive come to the conclusion that it's because