Error in Java console with lop.properties file
Hi,
I keep getting this error on my java console when opening XI. Somebody have an idea why?
Thanks
Yves
NFO: using logging implementation "Dual SAP/AII Logging"
INFO: log configuration file "C:\Documents and Settings\berniery\Desktop\log.properties" could not be read
INFO: using simple log configuration
<<< frog.jar: version 5.1.4 08/20/04 sap.theme: Streamline >>>
#8 09:33:22 [AWT-EventQueue-0] ERROR com.sap.aii.utilxi.swing.toolkit.ExceptionDialog: Throwable
Thrown:
MESSAGE ID: com.sap.aii.ib.core.roa.rb_all.ROA_MOA_NOTCOMPLETED
com.sap.aii.utilxi.misc.api.ResourceException: Attempt to access the 1 requested objects on 1 failed. Detailed information:
com.sap.aii.ib.core.roa.RoaObjectAccessException: Unable to read object Adapter Metadata BIC | http://seeburger.com/xi (a0d754d06f9f11d992c0c8340a0068a7) of type AdapterMetaData from application REPOSITORY on system REPOSITORY. Detailed information: Software component version with GUID a0d754d0-6f9f-11d9-92c0-c8340a0068a7 does not exist
com.sap.aii.ib.core.roa.RoaObjectAccessException: Unable to read object Adapter Metadata BIC | http://seeburger.com/xi (a0d754d06f9f11d992c0c8340a0068a7) of type AdapterMetaData from application REPOSITORY on system REPOSITORY. Detailed information: Software component version with GUID a0d754d0-6f9f-11d9-92c0-c8340a0068a7 does not exist
at com.sap.aii.ib.sbeans.gen.GeneralSessionBean.wrap(GeneralSessionBean.java:156)
at com.sap.aii.ib.sbeans.gen.GeneralSessionBean.wrap(GeneralSessionBean.java:131)
at com.sap.aii.ib.sbeans.misc.MiscServicesBean.getAdapterMetadata(MiscServicesBean.java:242)
at com.sap.aii.ib.sbeans.misc.MiscServicesRemoteObjectImpl10.getAdapterMetadata(MiscServicesRemoteObjectImpl10.java:2028)
at com.sap.aii.ib.sbeans.misc.MiscServicesRemoteObjectImpl10p4_Skel.dispatch(MiscServicesRemoteObjectImpl10p4_Skel.java:285)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
Hi Yves,
Of course, here it is:
" Attempt to access the 1 requested objects on 1 failed. Detailed information: com.sap.aii.ib.core.roa.RoaObjectAccessException: Unable to read object Adapter Metadata File | http://sap.com/xi/XI/System (3b787a8035c111d6bbe0efe50a1145a5) of type AdapterMetaData from application REPOSITORY on system REPOSITORY. Detailed information: Software component version with GUID 3b787a80-35c1-11d6-bbe0-efe50a1145a5 does not exist"
do you have any idea?
Thanks and Kind Regards
Similar Messages
-
All,
We are using PO 7.4 with SP5, and we have an issue while accessing URL Exchange profile page (http://<host:port>/webdynpro/dispatcher/sap.com/com.sap.xi.exprofui/XIProfileApp) it throw's the below error.
dbconnect.prop: failed to load properties file .\dbconnect.properties
dbconnect.prop: failed to load properties file
Did some one seen this before and have resolved ? Any help is highly appreciated.
Thank you, PranayThough below note is not applicable to you, i would suggest you to check if the destination is created by the configuration wizard? If not you can create one and see if it helps.
Create Java RFC destination XI_EXCHANGE_PROFILE manually: Navigate to http://[host]:[port]/nwa --> Configuration --> Infrastructure --> Destinations. Create the RFC Destination with PILDUSER as logon user.
1525193 - PI CTC: Exchange Profile Access after (EhP) Upgrade -
How to lunch Java Console with java code?
Hi all,
I have an application which runs using JWS, everything is fine (running during 3 years), but sometimes an unexpected Exception happens, and my client doe not have the Java Console Activated to show (in Windows Control Panel).
What I want to do is:
set in the java code to whenever Exceptions occur the Java Console shows up and he (the client) can see and send me the Error Exception.
Does anybody know how can I set that in my code?
Thanks.Just some using XML, I dont want to use XML
configuratio.You don't need to use XML for log4j configuration. Log4j properties are set in a .properties file.
But it sounds like you should build your own logging framework where for every exception that occurs you call the framework and then it will display the exception and stack trace in a dialog box and proceed to email the exception to an email list specified within a property file. -
Hi experts
when I run Network UI Element
to presnt org Chart
I get in IE->Tools->Java Console
the follow error:
<<<--- Applet.destroy(): AppWin0/JNET --->>>
<<<--- EXIT for AppWin0/JNET --->>>
java.lang.NullPointerException
at sun.plugin.javascript.ocx.JSObject.eval(Unknown Source)
at com.sap.tc.webdynpro.ace.Acf2JavaScriptClient$1.run(Acf2JavaScriptClient.java:55)
at java.lang.Thread.run(Unknown Source)
ACF 7.1000.0.71
<<< frog.jar: version 5.4.6 02/01/06 sap.theme: null >>>this is the file:
// This file has been generated partially by the Web Dynpro Code Generator.
// MODIFY CODE ONLY IN SECTIONS ENCLOSED BY @@begin AND @@end.
// ALL OTHER CHANGES WILL BE LOST IF THE FILE IS REGENERATED.
package co.il.bnhp;
// IMPORTANT NOTE:
// ALL IMPORT STATEMENTS MUST BE PLACED IN THE FOLLOWING SECTION ENCLOSED
// BY @@begin imports AND @@end. FURTHERMORE, THIS SECTION MUST ALWAYS CONTAIN
// AT LEAST ONE IMPORT STATEMENT (E.G. THAT FOR IPrivateOrgTree).
// OTHERWISE, USING THE ECLIPSE FUNCTION "Organize Imports" FOLLOWED BY
// A WEB DYNPRO CODE GENERATION (E.G. PROJECT BUILD) WILL RESULT IN THE LOSS
// OF IMPORT STATEMENTS.
//@@begin imports
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.StringWriter;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.FactoryConfigurationError;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.OutputKeys;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerConfigurationException;
import javax.xml.transform.TransformerException;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.TransformerFactoryConfigurationError;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.sax.SAXSource;
import javax.xml.transform.stream.StreamResult;
import org.w3c.dom.DOMException;
import org.w3c.dom.DOMImplementation;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Entity;
import org.w3c.dom.Node;
import org.w3c.dom.Text;
import org.xml.sax.SAXException;
import co.i.bnhp.model.Zhr_Rfc_Disp_Manger_Employees2_Input;
import co.il.bnhp.wdp.IPrivateOrgTree;
import co.il.bnhp.wdp.IPublicOrgTree;
import com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException;
import com.sap.tc.webdynpro.progmodel.api.WDResourceFactory;
import com.sap.tc.webdynpro.services.sal.deployment.api.WDAliasResolvingException;
import com.sap.tc.webdynpro.services.sal.url.api.WDURLGenerator;
import com.sap.tc.webdynpro.services.sal.url.api.WDWebResource;
import com.sap.tc.webdynpro.services.sal.url.api.WDWebResourceType;
//@@end
//@@begin documentation
//@@end
public class OrgTree
Logging location.
private static final com.sap.tc.logging.Location logger =
com.sap.tc.logging.Location.getLocation(OrgTree.class);
static
//@@begin id
String id = "$Id$";
//@@end
com.sap.tc.logging.Location.getLocation("ID.com.sap.tc.webdynpro").infoT(id);
Private access to the generated Web Dynpro counterpart
for this controller class. </p>
Use <code>wdThis</code> to gain typed access to the context,
to trigger navigation via outbound plugs, to get and enable/disable
actions, fire declared events, and access used controllers and/or
component usages.
@see co.il.bnhp.wdp.IPrivateOrgTree for more details
private final IPrivateOrgTree wdThis;
Root node of this controller's context. </p>
Provides typed access not only to the elements of the root node
but also to all nodes in the context (methods node<i>XYZ</i>())
and their currently selected element (methods current<i>XYZ</i>Element()).
It also facilitates the creation of new elements for all nodes
(methods create<i>XYZ</i>Element()). </p>
@see co.il.bnhp.wdp.IPrivateOrgTree.IContextNode for more details.
private final IPrivateOrgTree.IContextNode wdContext;
A shortcut for <code>wdThis.wdGetAPI()</code>. </p>
Represents the generic API of the generic Web Dynpro counterpart
for this controller. </p>
private final com.sap.tc.webdynpro.progmodel.api.IWDComponent wdControllerAPI;
A shortcut for <code>wdThis.wdGetAPI().getComponent()</code>. </p>
Represents the generic API of the Web Dynpro component this controller
belongs to. Can be used to access the message manager, the window manager,
to add/remove event handlers and so on. </p>
private final com.sap.tc.webdynpro.progmodel.api.IWDComponent wdComponentAPI;
public OrgTree(IPrivateOrgTree wdThis)
this.wdThis = wdThis;
this.wdContext = wdThis.wdGetContext();
this.wdControllerAPI = wdThis.wdGetAPI();
this.wdComponentAPI = wdThis.wdGetAPI().getComponent();
//@@begin javadoc:wdDoInit()
/** Hook method called to initialize controller. */
//@@end
public void wdDoInit()
//@@begin wdDoInit()
buildDOM();
//@@end
//@@begin javadoc:wdDoExit()
/** Hook method called to clean up controller. */
//@@end
public void wdDoExit()
//@@begin wdDoExit()
//@@end
//@@begin javadoc:wdDoPostProcessing()
Hook called to handle data retrieval errors before rendering.
After doModifyView(), the Web Dynpro Framework gets all context data needed
for rendering by validating the contexts (which in turn calls the supply
functions and supplying relation roles). In this hook, the application
should handle the errors which occurred during validation of the contexts.
Using preorder depth-first traversal, this hook is called for all component
controllers starting with the current root component.
Permitted operations:
- Flushing model queue
- Creating messages
- Reading context and model data
Forbidden operations:
- Invalidating model data
- Manipulating the context
- Firing outbound plugs
- Creating components
@param isCurrentRoot true if this is the root of the current request
//@@end
public void wdDoPostProcessing(boolean isCurrentRoot)
//@@begin wdDoPostProcessing()
//@@end
//@@begin javadoc:wdDoBeforeNavigation()
Hook before the navigation phase starts.
This hook allows you to flush the model queue and handle any
errors that occur. Firing outbound plugs is allowed in this hook.
Using preorder depth-first traversal, this hook is called for all component
controllers starting with the current root component.
@param isCurrentRoot true if this is the root of the current request
//@@end
public void wdDoBeforeNavigation(boolean isCurrentRoot)
//@@begin wdDoBeforeNavigation()
//@@end
//@@begin javadoc:wdDoApplicationStateChange()
Hook that informs the application about a state change.
<p>
This hook is called e.g. to tell the application that will be
<ul>
<li>left via a suspend plug and therefore should go into a suspend/sleep
mode with minimal need of resources. errors that occur. Firing
outbound plugs is allowed in this hook.
<li>left due to a timeout and could write it's state to a data base if the
user comes back later on
</ul>
The concrete reason is available via IWDApplicationStateChangeInfo
<p>
<b>Important</b>: This hook is called for the top level component only!
@param stateChangeInfo contains the information about the nature of the state change
@param stateChangeReturn allows the application to ask for a different state change.
The framework is allowed to ignore it considering i.e. the current resources situation.
//@@end
public void wdDoApplicationStateChange(com.sap.tc.webdynpro.progmodel.api.IWDApplicationStateChangeInfo stateChangeInfo, com.sap.tc.webdynpro.progmodel.api.IWDApplicationStateChangeReturn stateChangeReturn)
//@@begin wdDoApplicationStateChange()
//@@end
//@@begin javadoc:buildDOM()
/** Declared method. */
//@@end
public void buildDOM( )
//@@begin buildDOM()
// File fileName = new File ("orgchart.xml");
wdThis.wdGetEmpUserIdInterface().getemp();
wdContext.currentContextElement().setPernrRet(wdContext.currentContextElement().getPernrRet());
Zhr_Rfc_Disp_Manger_Employees2_Input input = new co.i.bnhp.model.Zhr_Rfc_Disp_Manger_Employees2_Input();
wdContext.nodeZhr_Rfc_Disp_Manger_Employees2_Input().bind(input);
input.setP_Pernr("1511");
//input.setP_Pernr(wdContext.currentContextElement().getPernrRet());
try{
String xmlFile =WDURLGenerator.getResourcePath(wdComponentAPI.getDeployableObjectPart(), "//tmp//tipex.xml");
File file = new File(xmlFile);
//Creating an empty XML Document
//We need a Document
input.execute();
wdContext.nodeSource().invalidate();
DocumentBuilderFactory dbfac = DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder = dbfac.newDocumentBuilder();
// DOMImplementation impl = docBuilder.getDOMImplementation();
Document doc = docBuilder.newDocument();
//Creating the XML tree
Element SapJNETData = doc.createElement("SAPJNetData");
SapJNETData.setAttribute("version","1.0");
doc.appendChild(SapJNETData);
// Element typeRepository = doc.createElement("TypeRepository");
// typeRepository.setAttribute("href","
tmp
TypeRepository.xml");
// SapJNETData.appendChild(typeRepository);
Element typeRepository = doc.createElement("TypeRepository");
typeRepository.setAttribute("id","orgchart");
typeRepository.setAttribute("version","1.0");
SapJNETData.appendChild(typeRepository);
Element color = doc.createElement("COLOR");
typeRepository.appendChild(color);
Element type1 = doc.createElement("type");
type1.setAttribute("name","OCBlue");
Element rgb1 = doc.createElement("rgb");
Text textRGB1 = doc.createTextNode("0,0,128");
color.appendChild(type1);
rgb1.appendChild(textRGB1);
type1.appendChild(rgb1);
Element type2 = doc.createElement("type");
type2.setAttribute("name","OCGray");
Element rgb2 = doc.createElement("rgb");
Text textRGB2 = doc.createTextNode("215,220,216");
color.appendChild(type2);
rgb2.appendChild(textRGB2);
type2.appendChild(rgb2);
Element type3 = doc.createElement("type");
type3.setAttribute("name","OCGrayer");
Element rgb3 = doc.createElement("rgb");
Text textRGB3 = doc.createTextNode("195,200,196");
color.appendChild(type3);
rgb3.appendChild(textRGB3);
type3.appendChild(rgb3);
Element type4 = doc.createElement("type");
type4.setAttribute("name","OCLighter");
Element rgb4 = doc.createElement("rgb");
Text textRGB4 = doc.createTextNode("235,240,236");
color.appendChild(type4);
rgb4.appendChild(textRGB4);
type4.appendChild(rgb4);
Element layout = doc.createElement("LAYOUT");
typeRepository.appendChild(layout);
Element typeLayout = doc.createElement("type");
typeLayout.setAttribute("name","OCLayout");
Element style = doc.createElement("style");
Text textStyle = doc.createTextNode("VERTICAL_FLOW");
layout.appendChild(typeLayout);
typeLayout.appendChild(style);
style.appendChild(textStyle);
Element label = doc.createElement("LABEL");
typeRepository.appendChild(label);
Element typeLabel1 = doc.createElement("type");
typeLabel1.setAttribute("name","OCLabelBase");
Element colorLabel = doc.createElement("color");
colorLabel.setAttribute("type","Black");
Element font1 = doc.createElement("font");
Element size1 = doc.createElement("size");
Text textSize1 = doc.createTextNode("12");
Element multiLine =doc.createElement("multiLine");
Text textMultiLine=doc.createTextNode("TRUE");
Element hAlign = doc.createElement("halign");
Text textHalign = doc.createTextNode("CENTER");
Element hAlignText = doc.createElement("halignText");
Text textHalignText = doc.createTextNode("CENTER");
Element border1 = doc.createElement("border");
Element insets1 = doc.createElement("insets");
insets1.setAttribute("top","3");
Element typeLabel2 = doc.createElement("type");
typeLabel2.setAttribute("name","OCLabelOrgUnit");
typeLabel2.setAttribute("inherits","OCLabelBase");
Element colorLabel2 = doc.createElement("color");
colorLabel2.setAttribute("type","OCBlue");
Element fillColorLabel2 = doc.createElement("fillColor");
fillColorLabel2.setAttribute("type","OCGrayer");
Element font2 = doc.createElement("font");
Element style2 = doc.createElement("style");
Text textStyle2 = doc.createTextNode("BOLD");
Element border2 = doc.createElement("border");
Element thickness = doc.createElement("thickness");
Text textThickness = doc.createTextNode("1");
Element Side = doc.createElement("sides");
Text textSide = doc.createTextNode("SOUTH");
Element typeLabel3 = doc.createElement("type");
typeLabel3.setAttribute("name","OCLabelNumber");
typeLabel3.setAttribute("inherits","OCLabelBase");
Element colorLabel3 = doc.createElement("color");
colorLabel3.setAttribute("type","OCBlue");
Element size3 = doc.createElement("size");
Text textSize3 = doc.createTextNode("40,0");
Element halign3 = doc.createElement("halign");
Text textHalign3 = doc.createTextNode("RIGHT");
Element multiLine3 = doc.createElement("multiline");
Text textMultiLine3 = doc.createTextNode("FALSE");
Element border3 = doc.createElement("border");
Element Thickness3 = doc.createElement("thickness");
Text textThickness3 = doc.createTextNode("1");
Element insets3 = doc.createElement("insets");
insets3.setAttribute("top","0");
Element Sides3 = doc.createElement("sides");
Text textSides3 = doc.createTextNode("NORTH,WEST");
Element typeLabel4 = doc.createElement("type");
typeLabel4.setAttribute("name","OCLabelChief");
typeLabel4.setAttribute("inherits","OCLabelBase");
Element font4 = doc.createElement("font");
Element style4 = doc.createElement("style");
Element border4 = doc.createElement("border");
Element insets4 = doc.createElement("insets");
insets4.setAttribute("top","6");
Element edgeT = doc.createElement("EDGE");
Element typeEdge= doc.createElement("type");
typeEdge.setAttribute("name","OCLink");
Element Shape = doc.createElement("shape");
Element ThickNess =doc.createElement("thickness");
Element targetDeco = doc.createElement("targetdeco");
targetDeco.setAttribute("shape","NONE");
Element nodeT = doc.createElement("NODE");
Element typeNode = doc.createElement("type");
typeNode.setAttribute("name","OCNodeBase");
Element shape = doc.createElement("shape");
shape.setAttribute("type","Box");
Element fillColor = doc.createElement("fillColor");
fillColor.setAttribute("type","OCGray");
Element borderNode = doc.createElement("border");
Element styleNode = doc.createElement("style");
Element plugs = doc.createElement("plugs");
plugs.setAttribute("min","0");
plugs.setAttribute("position","SOUTH");
plugs.setAttribute("positionMode","CENTRIC");
Element socket = doc.createElement("sockets");
socket.setAttribute("min","0");
socket.setAttribute("position","NORTH");
socket.setAttribute("positionMode","CENTRIC");
Element OCNode = doc.createElement("type");
OCNode.setAttribute("name","OCNode");
OCNode.setAttribute("inherits","OCNodeBase");
Element OCNodeShape = doc.createElement("shape");
Element OCNodeSize = doc.createElement("size");
OCNodeSize.setAttribute("pack","true");
Element OClayout = doc.createElement("layout");
OClayout.setAttribute("type","OCLayout");
Element OCNodeArrowUp = doc.createElement("type");
OCNodeArrowUp.setAttribute("name","OCNodeArrowUp");
OCNodeArrowUp.setAttribute("inherits","OCNodeBase");
Element OCNodeArrowShape = doc.createElement("shape");
Element OcNodeArrowSize = doc.createElement("size");
Element OcNodeArrowLabel = doc.createElement("label");
Element OcNodeArrowicon = doc.createElement("icon");
Element OcNodeArrowHalign = doc.createElement("halign");
Element OCNodeArrowDown = doc.createElement("type");
OCNodeArrowDown.setAttribute("name","OCNodeArrowDown");
OCNodeArrowDown.setAttribute("inherits","OCNodeArrowUp");
Element OCNodeArrowDownLabel = doc.createElement("label");
Element OcNodeArrowDownIcon = doc.createElement("icon");
Element NodeGraph = doc.createElement("Graph");
Element OCGraph = doc.createElement("type");
OCGraph.setAttribute("name","OCGraph");
Element direction = doc.createElement("direction");
Element components = doc.createElement("components");
Element OCGraphLayouts = doc.createElement("layouts");
Element types = doc.createElement("types");
Element OCGraphlayout = doc.createElement("layout");
OCGraphlayout.setAttribute("type","TREE");
Element property1 = doc.createElement("property");
property1.setAttribute("name","STYLE");
property1.setAttribute("value","VARIABLE_SIZE");
Element property2 = doc.createElement("property");
property2.setAttribute("name","OFFS_X");
property2.setAttribute("value","50");
Element property3 = doc.createElement("property");
property3.setAttribute("name","OFFS_Y");
property3.setAttribute("value","30");
Element Graph = doc.createElement("Graph");
Graph.setAttribute("type","OCGraph");
Graph.setAttribute("version","1.0");
Element layouts = doc.createElement("layouts");
layouts.setAttribute("onLoad","TREE");
Element view = doc.createElement("view");
Element grid = doc.createElement("grid");
Text TextGrid = doc.createTextNode("80,80");
Element UserInterface = doc.createElement("userInterface");
UserInterface.setAttribute("version","1.0");
Element mode = doc.createElement("mode");
label.appendChild(typeLabel1);
typeLabel1.appendChild(colorLabel);
typeLabel1.appendChild(font1);
font1.appendChild(size1);
size1.appendChild(textSize1);
typeLabel1.appendChild(multiLine);
multiLine.appendChild(textMultiLine);
typeLabel1.appendChild(hAlign);
hAlign.appendChild(textHalign);
typeLabel1.appendChild(hAlignText);
hAlignText.appendChild(textHalignText);
typeLabel1.appendChild(border1);
border1.appendChild(insets1);
label.appendChild(typeLabel2);
typeLabel2.appendChild(colorLabel2);
typeLabel2.appendChild(fillColorLabel2);
typeLabel2.appendChild(font2);
font2.appendChild(style2);
style2.appendChild(textStyle2);
typeLabel2.appendChild(border2);
border2.appendChild(thickness);
thickness.appendChild(textThickness);
border2.appendChild(Side);
Side.appendChild(textSide);
label.appendChild(typeLabel4);
typeLabel4.appendChild(font4);
font4.appendChild(style4);
style4.appendChild(doc.createTextNode("BOLD"));
typeLabel4.appendChild(border4);
border4.appendChild(insets4);
label.appendChild(typeLabel3);
typeLabel3.appendChild(colorLabel3);
typeLabel3.appendChild(size3);
size3.appendChild(textSize3);
typeLabel3.appendChild(halign3);
halign3.appendChild(textHalign3);
typeLabel3.appendChild(multiLine3);
multiLine3.appendChild(textMultiLine3);
typeLabel3.appendChild(border3);
border3.appendChild(Thickness3);
Thickness3.appendChild(textThickness3);
border3.appendChild(insets3);
insets3.setAttribute("top","0");
border3.appendChild(Sides3);
Sides3.appendChild(textSides3);
typeRepository.appendChild(edgeT);
edgeT.appendChild(typeEdge);
typeEdge.appendChild(Shape);
Shape.appendChild(doc.createTextNode("BENT"));
typeEdge.appendChild(ThickNess);
ThickNess.appendChild(doc.createTextNode("1"));
typeEdge.appendChild(targetDeco);
typeRepository.appendChild(nodeT);
nodeT.appendChild(typeNode);
typeNode.appendChild(shape);
shape.appendChild(fillColor);
shape.appendChild(borderNode);
borderNode.appendChild(styleNode);
styleNode.appendChild(doc.createTextNode("RAISED"));
typeNode.appendChild(plugs);
typeNode.appendChild(socket);
nodeT.appendChild(OCNode);
OCNode.appendChild(OCNodeShape);
OCNodeShape.appendChild(OCNodeSize);
OCNodeSize.appendChild(doc.createTextNode("150,0"));
OCNode.appendChild(OClayout);
nodeT.appendChild(OCNodeArrowUp);
OCNodeArrowUp.appendChild(OCNodeArrowShape);
OCNodeArrowShape.appendChild(OcNodeArrowSize);
OcNodeArrowSize.appendChild(doc.createTextNode("22,21"));
OCNodeArrowUp.appendChild(OcNodeArrowLabel);
OcNodeArrowLabel.appendChild(OcNodeArrowicon);
OcNodeArrowicon.appendChild(doc.createTextNode("apps/orgchart/arrow-up.gif"));
OcNodeArrowLabel.appendChild(OcNodeArrowHalign);
OcNodeArrowHalign.appendChild(doc.createTextNode("CENTER"));
nodeT.appendChild(OCNodeArrowDown);
OCNodeArrowDown.appendChild(OCNodeArrowDownLabel);
OCNodeArrowDownLabel.appendChild(OcNodeArrowDownIcon);
OcNodeArrowDownIcon.appendChild(doc.createTextNode("apps/orgchart/arrow-down.gif"));
typeRepository.appendChild(NodeGraph);
NodeGraph.appendChild(OCGraph);
OCGraph.appendChild(direction);
direction.appendChild(doc.createTextNode("TOP_BOTTOM"));
OCGraph.appendChild(components);
components.appendChild(doc.createTextNode("OCNode"));
OCGraph.appendChild(OCGraphLayouts);
OCGraphLayouts.appendChild(types);
types.appendChild(doc.createTextNode("TREE"));
OCGraphLayouts.appendChild(OCGraphlayout);
OCGraphlayout.appendChild(property1);
OCGraphlayout.appendChild(property2);
OCGraphlayout.appendChild(property3);
SapJNETData.appendChild(UserInterface);
UserInterface.appendChild(mode);
mode.appendChild(doc.createTextNode("SELECTONLY"));
SapJNETData.appendChild(Graph);
Graph.appendChild(layouts);
Graph.appendChild(view);
view.appendChild(grid);
grid.appendChild(TextGrid);
for (int i=0; i<wdContext.nodeZhr_Rfc_Employees2().size(); i++) {
IPublicOrgTree.IEmpElement Emp = wdContext.nodeEmp().createEmpElement();
IPublicOrgTree.IZhr_Rfc_Employees2Element curEmp = wdContext.nodeZhr_Rfc_Employees2().getZhr_Rfc_Employees2ElementAt(i);
Element node = doc.createElement("node");
node.setAttribute("id",curEmp.getEmp_Pernr());
node.setAttribute("type","OCNode");
Element label1 = doc.createElement("label");
label1.setAttribute("type","OCLabelOrgUnit");
Text TextLabel1 = doc.createTextNode(curEmp.getEmp_Name());
Element label2 = doc.createElement("label");
label2.setAttribute("type","OCLabelChief");
Text TextLabel2 = doc.createTextNode(curEmp.getEmp_Pernr());
Graph.appendChild(node);
node.appendChild(label1);
label1.appendChild(TextLabel1);
node.appendChild(label2);
label2.appendChild(TextLabel2);
wdContext.nodeEmp().addElement(Emp);
for (int i=0; i<wdContext.nodeZhr_Rfc_Employees2().size()-1; i++) {
IPublicOrgTree.IEmpElement Emp = wdContext.nodeEmp().createEmpElement();
IPublicOrgTree.IZhr_Rfc_Employees2Element curEmp = wdContext.nodeZhr_Rfc_Employees2().getZhr_Rfc_Employees2ElementAt(i);
for (int j=i1; j<wdContext.nodeZhr_Rfc_Employees2().size(); j+)
if (wdContext.nodeZhr_Rfc_Employees2().getZhr_Rfc_Employees2ElementAt(i).getEmp_Pernr().equals(wdContext.nodeZhr_Rfc_Employees2().getZhr_Rfc_Employees2ElementAt(j).getEmp_Manager()))
Element edge = doc.createElement("edge");
edge.setAttribute("type","OCLink");
Element from = doc.createElement("from");
from.setAttribute("node",curEmp.getEmp_Pernr());
Element to = doc.createElement("to");
to.setAttribute("node",wdContext.nodeZhr_Rfc_Employees2().getZhr_Rfc_Employees2ElementAt(j).getEmp_Pernr());
Graph.appendChild(edge);
edge.appendChild(from);
edge.appendChild(to);
// typeLabel3.appendChild()
// Element font = doc.createElement("font");
// .appendChild(color);
// type1.appendChild(rgb1);
//create a comment and put it in the root element
// Comment comment = doc.createComment("Just a thought");
// type1.appendChild(comment);
//create child element, add an attribute, and add to root
// Element child = doc.createElement("child");
//child.setAttribute("name", "value");
//type.appendChild(child);
//add a text element to the child
//Output the XML
//set up a transformer
TransformerFactory transfac = TransformerFactory.newInstance();
Transformer trans = transfac.newTransformer();
trans.setOutputProperty(OutputKeys.ENCODING, "ISO-8859-8");
trans.setOutputProperty(OutputKeys.INDENT, "yes");
//create string from xml tree
StringWriter sw = new StringWriter();
StreamResult result = new StreamResult(file);
DOMSource source = new DOMSource(doc);
trans.transform(source, result);
wdContext.currentContextElement().setXmlString(sw.toString());
} catch (DOMException e) {
wdComponentAPI.getMessageManager().reportException("2-"+e.getMessage(),true);
} catch (TransformerConfigurationException e) {
-
Error on bean:message and resource properties file ??
Hi everyone! I'm new to struts and i just can't figure out why tomcat's giving me an error. I've manage to run a simple example but when i use the bean:message tag i get this error
ERROR IS:
java.lang.NullPointerException
org.apache.struts.taglib.TagUtils.retrieveMessageResources(TagUtils.java:1175)
org.apache.struts.taglib.TagUtils.message(TagUtils.java:1038)
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:224)
org.apache.jsp.index_jsp._jspx_meth_bean_message_0(org.apache.jsp.index_jsp:135)
org.apache.jsp.index_jsp._jspx_meth_html_html_0(org.apache.jsp.index_jsp:101)
org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:69)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Can anyone help me with this problem?
my ApplicationResources.propeties file is in WEB-INF/classes
index.jsp
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html:html locale="true">
<head>
<title> <bean:message key="index.title"/> </title>
</head>
<body>
<html:link module="/exercise" action="/welcome">Taglib Test Pages</html:link>
</body>
</html:html>
web.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<!-- Action Servlet Configuration -->
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<!-- Resources bundle base class -->
<init-param>
<param-name>application</param-name>
<param-value>ApplicationResources</param-value>
</init-param>
<!-- Context-relative path to the XML resource containing Struts configuration information -->
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<!-- The debugging detail level for this servlet, which controls how much information is logged. -->
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>2</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<!-- Action Servlet Mapping -->
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<!-- The Welcome File List -->
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<!-- Struts Tag Library Descriptors -->
<taglib>
<taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
<!-- Application Tag Library Descriptor -->
<taglib>
<taglib-uri>/WEB-INF/app.tld</taglib-uri>
<taglib-location>/WEB-INF/app.tld</taglib-location>
</taglib>
</web-app>Please help..thanks in advanceI have that on my struts-config.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.0//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">
<struts-config>
<form-beans>
</form-beans>
<global-forwards>
</global-forwards>
<action-mappings>
</action-mappings>
<message-resources parameter="ApplicationResources"/>
</struts-config>and I also include it on my web.xml file
<!-- Resources bundle base class -->
<init-param>
<param-name>application</param-name>
<param-value>ApplicationResources</param-value>
</init-param> -
An Error Message when loading a Resource.properties File
Hi, all:
I tried to load a Resources.properties file in a JSP page:
<%@ page import="java.util.*" %>
<%
ResourceBundle rb = null;
try {
rb = ResourceBundle.getBundle("Resources");
} catch (MissingResourceException e) {
rb = null;
throw new RuntimeException("The resource is missing!");
%>
Test
When I run it, I got the following error message:
Error 500--Internal Server Error
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.1 500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Any ideas what's going on here?
Thanks
JeffHi,
I had a similar error just a few days ago. I could solve it by replicating the datasources again and activating the transfer structures via rs_transtru_activate_all. After that the load went fine.
regards
Siggi -
Weblogic Classpath setting error not able to pick the properties file
Hi All,
We are using a third party jar and create a java Web service on the top of that jar. This jar file need two configuration file .properties and .xml when we deploy war for the application into weblogic server it will give file not found error. Though this file already exists inside the .war but from the application it is not able to pick the files.
We find that these file need to be put in weblogic domain home and we put it there and application works.
I decompile the jar and found that inside java class they use FileReader("allXXX.xml") path and when I Google it and found that it will pick the file from weblogic domain directory.
The issue is that we need to put properties file in specific weblogic folder like /3party/config by setting the class path inside startWebLogic.cmd. Please let us know solution for same
Thanks in advance
Edited by: sb**** on Mar 19, 2012 9:08 AMHi , I am also facing the similer issue. I am deploying war file of my Spring MVC application , but its not picking resource bundle .properties files from one of the configuration file.
<bean id="PropertiesRepository"
class="LanguageBasedPropertiesRepository">
<property name="propertiesFiles">
<map>
<entry key="en" value="classpath:/exceptionMessages.properties" />
<entry key="es" value="classpath:/exceptionMessages_es.properties" />
<entry key="default" value="classpath:/exceptionMessages.properties" />
</map>
</property>
</bean>
Please let me know how we can modify this to make it work.
thanks . -
Hi All
When i run form using webutil in forms10g(9.0.4),java console window shows::::::
I signed jacob.jar,webutil.jar successfully
I changed formsweb.cfg
Oracle JInitiator: Version 1.3.1.17
Using JRE version 1.3.1.17-internal Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Administrator
Proxy Configuration: no proxy
JAR cache enabled
Location: C:\Documents and Settings\Administrator\Oracle Jar Cache
Maximum size: 50 MB
Compression level: 0
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Loading http://system5:8889/forms90/java/f90all_jinit.jar from JAR cache
Loading http://system5:8889/forms90/java/myAppicon.jar from JAR cache
Loading http://system5:8889/forms90/java/jacob.jar from JAR cache
Loading http://system5:8889/forms90/java/webutil.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 9.0.4.0
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
What does it mean?
where was f90webutil.jar located?
Appriciate your help.
Thanks
BhujendraHi All
When i run form using webutil in forms10g(9.0.4),java console window shows::::::
I signed jacob.jar,webutil.jar successfully
I changed formsweb.cfg
Oracle JInitiator: Version 1.3.1.17
Using JRE version 1.3.1.17-internal Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Administrator
Proxy Configuration: no proxy
JAR cache enabled
Location: C:\Documents and Settings\Administrator\Oracle Jar Cache
Maximum size: 50 MB
Compression level: 0
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Loading http://system5:8889/forms90/java/f90all_jinit.jar from JAR cache
Loading http://system5:8889/forms90/java/myAppicon.jar from JAR cache
Loading http://system5:8889/forms90/java/jacob.jar from JAR cache
Loading http://system5:8889/forms90/java/webutil.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 9.0.4.0
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
What does it mean?
where was f90webutil.jar located?
Appriciate your help.
Thanks
Bhujendra -
Could java deal with shortcut/link files ?
Hi all,
We could often use the shortcut(.lnk) or link files on Windows or Unix.
Could Java class deal with these files directly ? That is, could it got
the target file of the shortcut link files? So that, we could use the target file exactly the same with other normal files.
Any comments and help are welcome. Thanks.
-GeorgeZ.Be aware that MS .lnk files are extremely different from what you use in Unix. In Unix, the OS resolves links automatically, and the application never even knows they are there. In Windows, this is absolutely not the case, and it takes a bit of work to get the windows shell to tell you where the link is pointing.
If you absolutely have to dereference .lnk files in Java you'll need to use JNI. The JNI interface will be the absolute easiest part of this, though. Getting a resolved .lnk in C++ is a major pain in the neck (about 50 lines of code).
- K -
When FireFox notifies me to update an add-on I usually do as I am told. Java Console comes up with updates so I update it. With other add-ons the item in the add-on list is changed giving its version number but with Java Console the list simply grows with yet another Java Console listed.
It's not a problem, I suppose, but I wonder why it works this way and if it should.You can uninstall (remove) the Java Console extensions and disable the Java Quick Starter extension, you do not need them to run Java applets.
See http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions
Disable the Java Quick Starter extension: Tools -> Add-ons -> Extensions
* Control Panel -> Java -> Advanced tab -> Miscellaneous -> Java Quick Starter (disable)
See http://www.java.com/en/download/help/quickstarter.xml - What is Java Quick Starter (JQS)? What is the benefit of running JQS? - 6.0 -
Everytime I go into Mail and/or Safari, I receive a pop-up the states "There was a problem connecting to the server. URL's with the type "File:" are not supported. The pop-up comes up twice each time and I have to click "ok" to close them. Only started after install of OS Lion 10.7. Any one else have this and is there a solution. It is just plain irrating that is does this each time I check my mail or go on the internet. Thanks!
That's interesting. I bet that helps other Safari users!
-
Hi to all,
I have a strange problem in my integration process.
there are two java mappings in order to create bapi input:
-the first mapping keeps a file of 5Mb and transforms it in a file of 50MB (and it works!)
-the second mapping keeps the file above and has to create another file of 50Mb.
And this second mapping doesn't work on the customer system, while everything is ok on my developing system.
On customer system I don't have any error message: SXMB_MONI gives me a "clock" and the message says: mapping in process..... It remains in this status "forever"!!!
Why does it work on my system with same code and same file and it doesn't on customer's?
There is any system parameter that I can check to see if there is some difference in system configuration?
Thank for the help!
bye,
AntonioHi Antonio,
...seems to be a hardware problem (sizing).
I would write some logging in my java to see how far it comes.
Regards Mario -
Error thread java : problem with the function "resume 0x***" (forum sun)
One problem with the function of jdb occured when I tried to use it to
pilot the processor with differents threads. In fact, I use a simple example with 2 threads.
I stop the two threads with two breakpoint, and I want to resume one or the other (with the function "resume 0x****"), the one wich I resumed stop again on the breackpoint and I decide again to resume one or the other. All of that to obtain a tree of execution.
I give you the code of the class and the code of jdb.
CLASS: (it's just a object Room with a variable degre that I increment and decrement with two threads increase and decrease)
public class Test{
public static void main(String[] args){
Room r = new Room();
decrease de = new decrease(r);
increase in = new increase(r);
de.start();
in.start();
class Room {
private volatile int degre=20;
public void more(){
degre += 4;
public void less(){
degre -= 3;
class decrease extends Thread{
private Room room;
public decrease(Room r){
room =r;
public void run(){
try{
while (!interrupted()){
room.less();
catch(InterruptedException e) {}
class increase extends Thread{
private Room room;
public increase(Room r){
room =r;
public void run(){
try{
while (!interrupted()){
room.more();
catch(InterruptedException e) {}
JDB:
Initializing jdb ...
stop at Test:7Deferring breakpoint Test:7.
It will be set after the class is loaded.
runrun Test
Set uncaught java.lang.Throwable
Set deferred uncaught java.lang.Throwable
>
VM Started: Set deferred breakpoint Test:7
Breakpoint hit: "thread=main", Test.main(), line=7 bci=30
7 in.start();
main[1] stop at room:16
Set breakpoint room:16
main[1] stop at room:20
Set breakpoint room:20
main[1] resume
All threads resumed.
>
Breakpoint hit: "thread=Thread-0", room.less(), line=20 bci=0
20 degre -= 3;
Thread-0[1] threads
Group system:
(java.lang.ref.Reference$ReferenceHandler)0x10d Reference Handler cond. waiting
(java.lang.ref.Finalizer$FinalizerThread)0x10c Finalizer cond. waiting
(java.lang.Thread)0x10b Signal Dispatcher running
Group main:
(decrease)0x146 Thread-0 running (at breakpoint)
(increase)0x147 Thread-1 running (at breakpoint)
(java.lang.Thread)0x148 DestroyJavaVM running
Thread-0[1] resume 0x147
Thread-0[1]
Breakpoint hit: "thread=Thread-1", room.more(), line=16 bci=0
16 degre += 4;
Thread-1[1] resume 0x147
Thread-1[1]
Breakpoint hit: "thread=Thread-1", room.more(), line=16 bci=0
16 degre += 4;
Thread-1[1] print degre
degre = 24
Thread-1[1] resume 0x146 //It's here the problem, thread 0x146 have to stop on the //next breakpoint of decrease but nothing happen
Thread-1[1] resume 0x147
Thread-1[1]
Breakpoint hit: "thread=Thread-1", room.more(), line=16 bci=0
16 degre += 4;
Thread-1[1] clear
Breakpoints set:
breakpoint Test:7
breakpoint room:16
breakpoint room:20
PS: I tried many other examples with other class and other kind of breakpoints, but, in any cases, on thread doesn't manage to resume. When I try with general resume (no specification of the thread), It works but it isn't interresting for me because I want to decide wich thread continue his execution.Hi,
I have read the FAQ of the JMF.
The problem was the jar files of the JMF were not in the JRE\BIN\EXT
folder of the Java runtime!
now it works!
thanks
Reg -
Error "Event Queue Overflowed​" with the "Write file to Citadel Server"
Hello,
I can import data from a file and I can see the data
in the historical database without troubling.
But I always have this error "Event Queue Overflowed", that don't perturb my data and my application (I have just this boring message).
I have tried many things :
- increasing the size of my input buffer (-> 1.000.000, no change) : I don't think so that it's important because I've tried with a value of 100 and anyway sometimes my application works with this small value of 100.
- increasing the File_location tag size (-> 260). No change.
- My write to Citadel.cfg is in the LabVIEW folder.
Can you help me ?
Thank you.Hi,
What version of LabVIEW DSC are you using? if it is 6.1, have you applied fixes linked below.
http://digital.ni.com/softlib.nsf/websearch/513AA4A0BB60D10086256B48006D44B5?opendocument
I have seen a similar issue at the link below.
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=5065000000080000008C640000&ECategory=LabVIEW.Datalogging+and+Supervisory+Control
Please let me know if you have read it through?
Best Regards,
Remzi A. -
How to start java app with many jar files
Hi,
I have an application that makes use of 50 jar files. When I try to start the application, I need a very long command line like
java -classpath file1.jar;file2.jar;file3.jar; ... de.me.myapp.myclass
This is not very handy. Is there a shorter way if all jars are in the same directory? I would like a command like this:
java -cp /usr/local/my_jars de.me.myapp.myclass
but this does not work.
Any Idea if there is an easy solution?
Andreasaaa801 wrote:
i think there was a way to do it but it eather only worked with javac or java exe which is a lil problem but i did -cp .;./*.jar or something of that sortAs of Java 6, the classpath can contain wildcards.
http://java.sun.com/javase/6/docs/technotes/tools/solaris/classpath.html
Maybe you are looking for
-
We bought our son a used iPhone 4s almost 2 years ago. It was recently lost, but we were lucky enough to get it back. As a precaution in case it's lost or stolen again I'm trying to activate find my iPhone, but it tells me I have to have iCloud. But
-
I have an ipad 64 GB I'm trying to restore it to it's orginal memory capacaity of 59.9 just like when I got it, Can anyone help me find the solution and help me fix it?
-
HT4818 my zero and nine key are not working
my zero and nine key are not working and also //////// symbol sometimes keeps repeating
-
Save button in workbook not working
Hi, We have a SAVE button in Workbook using BI IP Functionality.Usually users will enter data through this which will be saved in real time cubes. Data is inputted in workbook and SAVE button is clicked to save the data,This button is integrated in w
-
Hi Everyone, I've created a slideshow where SWFs load externally into the main file. When one SWF's animation is completed, next SWF gets loaded. Problem: If the animation in any particular SWF is created on Stage (ie. on main timeline) then we can e