RunInstall for 8i generates Java argument list error
I'm installing 8i on an Intel Celeron 466 mhz box with Mandrake 6.5
The installation I have came in the Macmillan Oracle package.
When I mount the cd rom and run runInstall, I get the following error:
Initializing Java Virtual Machine from /usr/local/jre/bin/jre. Please wait...
Error in CreateOUIProcess(): -1
: Argument list too long
I have installed Java 1.1.7 from Blackdown.
What can I do to fix this problem?
Rob,
I posted moments after you with the same question. Upon further examination of the FAQs, it looks like there is a limit file that limits the number of arguments that an executable can have. I will investigate it further and let you know how it turns out.
Joe
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Rob Whall ([email protected]):
I'm installing 8i on an Intel Celeron 466 mhz box with Mandrake 6.5
The installation I have came in the Macmillan Oracle package.
When I mount the cd rom and run runInstall, I get the following error:
Initializing Java Virtual Machine from /usr/local/jre/bin/jre. Please wait...
Error in CreateOUIProcess(): -1
: Argument list too long
I have installed Java 1.1.7 from Blackdown.
What can I do to fix this problem?<HR></BLOCKQUOTE>
null
Similar Messages
-
Got error when trying to generate Java proxy jar file for webservice
Hi,
I am having a warning message when trying to generate java proxy jar file on weblogic8.1
webservice test web app, the message is as follows:
"Warning Failed to generate client proxy from WSDL definition for this service.
Prescription Please verify the <types> section of the WSDL."
in the mean time, on weblogic starting terminal, I saw the following exceptions,
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\AlphaLength4Deserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,4L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\OSIFieldAnonTypeDeserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkMaxLengthFacet(__typed_obj,69L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\AlphaLength2Deserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,2L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\FreeFormAnonTypeDeserializer.java:36: cannot resolve symbol
symbol : class FacetUtils"
Can anybody help me about this issue? I attached WSDL file, also United Airlines
got an enterprise weblogic license deal with BEA, any help will be highly appreciated.
Thanks!!!
Naichen
[ModifyPNRWSContract.wsdl]Hi Naichen,
I was able to successfully run both the autotype and clientgen Ant task, on the
WSDL you provided. The code behind those Ant tasks are pretty much what the WebLogic
Web Services test page run. Are you using WLS 8.1 SP2? If not, you might want
to try with that version.
Regards,
Mike Wooten
"Naichen Liu" <[email protected]> wrote:
>
>
>
Hi,
I am having a warning message when trying to generate java proxy jar
file on weblogic8.1
webservice test web app, the message is as follows:
"Warning Failed to generate client proxy from WSDL definition for this
service.
Prescription Please verify the <types> section of the WSDL."
in the mean time, on weblogic starting terminal, I saw the following
exceptions,
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\AlphaLength4Deserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,4L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\OSIFieldAnonTypeDeserializer.java:36: cannot resolve
symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkMaxLengthFacet(__typed_obj,69L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\AlphaLength2Deserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,2L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\FreeFormAnonTypeDeserializer.java:36: cannot resolve
symbol
symbol : class FacetUtils"
Can anybody help me about this issue? I attached WSDL file, also United
Airlines
got an enterprise weblogic license deal with BEA, any help will be highly
appreciated.
Thanks!!!
Naichen -
Java.rmi.UnmarshalException: error unmarshalling arguments;
Hi!
I'm a newbe with rmi, and I try to use a test program, from Thinking in Java:
ITiempoPerfecto.java
package c15.rmi;
import java.rmi.*;
interface ITiempoPerfecto extends Remote {
long obtenerTiempoPerfecto() throws RemoteException;
TiempoPerfecto.java
package c15.rmi;
import java.rmi.*;
import java.rmi.server.*;
import java.rmi.registry.*;
import java.net.*;
public class TiempoPerfecto extends UnicastRemoteObject implements ITiempoPerfecto {
public long obtenerTiempoPerfecto () throws RemoteException {
return System.currentTimeMillis();
public TiempoPerfecto() throws RemoteException {
super();
public static void main(String[] args) throws Exception {
System.setSecurityManager(new RMISecurityManager());
TiempoPerfecto tp=new TiempoPerfecto();
Naming.bind("//localhost/TiempoPerfecto",tp);
System.out.println("Preparado para dar la hora");
}and
MostrarTiempoPerfecto.java
package c15.rmi;
import java.rmi.*;
import java.rmi.registry.*;
public class MostrarTiempoPerfecto {
public static void main(String[] args) throws Exception {
System.setSecurityManager( new RMISecurityManager());
ITiempoPerfecto t=(ITiempoPerfecto)Naming.lookup("//localhost/TiempoPerfecto");
for (int i=0;i<10;i++)
System.out.println("Tiempo perfecto: "+t.obtenerTiempoPerfecto());
}I compile all the files normally.
Later I do:
rmiregistry &
rmic c15.rmi.TiempoPerfecto(This only generate the file TiempoPerfecto_Stub.class, it's ok?)
Without warnings or errors. But when I try to create a server object
java c15/rmi/TiempoPerfectoI obtain this:
Exception in thread "main" java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: c15.rmi.TiempoPerfecto_Stub
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:595)
.......What is the mistake? What may I do to run this programs?
Thank you!You must change your current directory to your class path (EX: java c15/rmi/TiempoPerfecto) then execute command remiregistry.
-
Model generation error when using java.util.List in JavaBeans
hi there,
when I try to generate model classes from JavaBeans classes,
packed into a JAR the generation process always stops with erros when the Bean class uses a property of type
java.util.List. See my example:
class MyJavaBean{
private java.util.List someMembers;
The error is:
Inspecting relation "MyJavaBean.SomeMembers" for source class "MyJavaBean"
[Warning]:This relation cannot be added as the TargetModelClass is not specified
[Error]: There are one or more relations unresolved. Importing the model without resolvoing the relations might result in erratic output.
Must I use a workaround or does anybody know something about this problem ? Installed: NW SP12
thx,
sabineHi Bhavik,
Can you please explain the error which you are getting while importing the model.
Please have a look at this tutorial.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tutorial on using ejbs in web dynpro - 20.html
Hope it helps.
Regards,
Naresh -
While generating the huge report getting Java Heap Space Error
Hi All,
We are using XML Publisher 5.6.2. we have to generate the huge report which contains more than 300 sql statements. Since our schema structure we can not reduce the queries. Now we are facing issue while generating the report. It takes lot of time and gives 'java heap space error'. We are using data template and RTF template for generating excel report.
Can anybody help me to resolve the issue? or is there any other way to generate the huge reports?
Thanks,Hi,
I had seen the forum, but we had already adjusted the parameters in the oc4j "-XX:MaxPermSize=128m -Xmx512m" values to 4096. but still we are getting the java heap space error. since we increased the size of xmx value, XML Publisher occupies 61% of memory of the server. B'coz of this our other applications are getting affected.
and also, since we are using XML Publisher 5.6.2, can you please assist us how to set the scalable property to 'true'.
Thanks,
Ramya.
Edited by: user753355 on Aug 12, 2009 3:35 AM -
Generating Java wrappers for PL/SQL Packages in JDeveloper 3.1
I have not been successful in using JD3.1 to generate java classes for use in calling PL/SQL packages from a Java Servlet I am developing. I have followed the directions under the 'Generating Java Code for Oracle Objects and PL/SQL Packages' help topic: I display the package in the database browser window, right click on the package, select 'Generate Java', and click 'OK' on the pop-up JPublisher window that appears. The wizard clocks out for a few moments, then the JPublisher window disappears, but the java class is not added to JDeveloper's Navigation pane for the Project and Package I specified in the wizard.
Any idea where the generated class is going to?should be, but isn't... JDeveloper3.1
(build 681) default install... Is it in
a custom package I didn't install? Or
am I just a dumb nut?Hmm.. I thought it was in there.. JPub is a java based tool. You can invoke it as such.
1st, use setvars.bat from your jdeveloper/bin directory.
2nd, run java oracle.jpub.java.Main (pass it the same arguments as you would the jpub.exe)
Here's the output from my machine here:
D:\JDeveloper31\bin>setvars D:\JDeveloper31
Setting JDeveloper 1.2 runtime environment to "D:\JDeveloper31"
Setting JDK version 1.2 in "D:\JDeveloper31\java1.2"
D:\JDeveloper31\bin>java oracle.jpub.java.Main
JPub: Java Object Type Publisher, version 8.1.6.0.0 Production
(and the rest of the help)
Take Care,
Rob
null -
Errors generating Java classes from XML schema
I received the following errors when generating Java classes from the schema located at: http://imsproject.org/xsd/ims_qti_rootv1p1.xsd and http://imsproject.org/xsd/ims_xml.xsd
XML Spy v4 claims that the schema is well-formed and valid. Could this be a problem with the class generators, or is XML Spy not telling the truth?
Thanks.
D:\IMS_QTI\Java>java -classpath .;lib/xmlparserv2.jar;lib/xschema.jar;lib/classgen.jar oracle.xml.classgen.oracg -schema ims_qti_rootv1p1.xs
d -outputDir src\com\icld\qti -package com.icld.qti -comment
file:/D:/IMS_QTI/Java/ims_qti_rootv1p1.xsd<Line 235, Column 21>: XSD-2209: (Error) Duplicated definition for: 'attr.view'
file:/D:/IMS_QTI/Java/ims_qti_rootv1p1.xsd<Line 303, Column 21>: XSD-2209: (Error) Duplicated definition for: 'grp.labels'
file:/D:/IMS_QTI/Java/ims_qti_rootv1p1.xsd<Line 1834, Column -12236>: XSD-2209: (Error) Duplicated definition for: 'qtimetadatafield'
file:/D:/IMS_QTI/Java/ims_qti_rootv1p1.xsd<Line 1834, Column -9642>: XSD-2209: (Error) Duplicated definition for: 'typeofsolutionType'
file:/D:/IMS_QTI/Java/ims_qti_rootv1p1.xsd<Line 2252, Column -3019>: XSD-2026: (Error) Invalid attribute 'use' in element 'attribute'
Error: Schema Class Generator failed to generate classes. oracle.xml.parser.schema.XSDException: Duplicated definition for: 'attr.view'<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jinyu Wang ([email protected]):
Which version are you using? I can't reproduce the error with 9.0.2B version.<HR></BLOCKQUOTE>
Thanks for having a look at the problem. I am using the 9.0.2.0B version with Java 2 Standard Edition Build 1.3.1-b24. The classgen -version option returns 9.0.2.0b-beta - and xmlparserv2.jar and xschema.jar are from the same distribution. Running the corresponding DTD from the same source work fine - I'm just havinf this problem with the XSD. Anything else I should look at? -
Java.rmi.MarshalException: error marshalling arguments
I've two class Client and Main. Eventnotify is implemented in class Client using RMI techniques. Here is sample
public interface EventNotify extends Remote {
void SendNotification (String str) throws RemoteException;
public class Client implements EventNotify {
//implementation of EventNotify
public void SendNotification(String str) {
System.out.println("from srver: ..." +str);
class Main {
public static void main(String[] args) {
Client clnt = new Client();
int val = stub.register_client(host, clnt); //THE ERROR IS HERE
The idea is to pass remote objects from client to a server. I've a server program running continously, but the problem is on passing objects of type Client. I'm facing marshaling problem.
AND THE ERROR IS
Client exception: java.rmi.MarshalException: error marshalling arguments; nested exception is:
java.io.NotSerializableException: Client
java.rmi.MarshalException: error marshalling arguments; nested exception is:
java.io.NotSerializableException: Client
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:156)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:195)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:149)
at $Proxy0.register_client(Unknown Source)
at Main.main(Client.java:74)
Thanks for helping.
Caused by: java.io.NotSerializableException: Client
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1173)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:343)
at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:292)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:151)Probably I have a similar problem while calling remote object's method with parameter looks like that :
public class ParamClass extends AbstractParamClass implements Runnable,
java.io.Serializable {
private NodeList field1; // part of crimson's tree
private NamedNodeMap field2 = null;// part of crimson's tree
public class RmiRemote extends AbstractRemote { // Remote Object Class
@Override
public Object remoteMethod1() throws RemoteException{
ParamClass param = new ParamClass("build with crimson");
CustomInterface stub = (CustomInterface) registry.lookup(name);
stub.callRemoteMethod(param); // exception here
java.rmi.MarshalException: error marshalling arguments; nested exception is:
java.io.NotSerializableException: org.apache.crimson.tree.AttributeSet
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:138)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)when I build param object with xerces - no exception occurs . Other methods of remote object doing well. Remote object extends AbstractRemote superclass derived from UnicastRemoteObject. How can I avoid this problem and call method with crimson's tree fields parameter?
Thank you. -
Hi there
I am moving db tier on another server with the clone utility. post clone on db tier were successful but on apps tier i am getting following error in adconfig.log file
AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora.
Error generating tnsnames.ora from the database, temporary tnsnames.ora will be generated using templates
Instantiating Tools tnsnames.ora
Tools tnsnames.ora instantiated
Web tnsnames.ora instantiated
adgentns.pl exiting with status 2
ERRORCODE = 2 ERRORCODE_END
.end std out.
.end err out.
Result : FAILED
i have used following options for solution but no success
1. Open a new shell and source the APPS Environment.
2. Start the sqlplus Utility and execute following commands :
sqlplus apps/<Password>
exec fnd_conc_clone.setup_clean
3. Open a new shell and source the DB-Tier Environment.
4. Execute Autoconfig at the DB-Tier.
5. Switch to the Shell with the APPS Enviornment sourced or start a new Shell and source the APPS Environment.
6. Execute Autoconfig at the APPS-Tier.
autoconfig run successufully on db tier but failed on apps tier.
Please help me out what to do.
Regards,
MohsinHi;
What is EBS version?
Please see:
AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora. [ID 1324667.1]
During Autoconfig "adgentns.pl" fails: "AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora" [ID 453901.1]
"AC-50480" Error Generating the "listener.ora" File. [ID 1089036.1]
Regard
Helios -
JAXB to generate java classes for XSD.
Hi
I have a XSD, which is importing other couple of xsds in it, tried to generate java classes using xjc, it is throwing error.
C:\vittal\Project\received\development-1\da_xsd>xjc -p com daAuthoring.xsd
parsing a schema...
[ERROR] Property "Alt" is already defined. Use <jaxb:property> to resolve thi
s conflict.
line 42 of file:/C:/vittal/Project/received/development-1/da_xsd/commonElement
s.xsd
[ERROR] The following location is relevant to the above error
line 2205 of file:/C:/vittal/Project/received/development-1/da_xsd/daCommonEle
ments.xsd
Failed to parse a schema.Please let me know how to fix this issue.Thanks for information,
I do understand xml well, and having basic knowledge on XSD.
1. can i generate a java classes for a xsd which is including other XSDs.
2. how to overwrite the issue, using annotation, point me to a location where i will get more information, that will be great help.
here is my xsd.
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/" xmlns:dctm="http://www.documentum.com" elementFormDefault="qualified">
<xs:import namespace="http://dita.oasis-open.org/architecture/2005/" schemaLocation="ditaarch.xsd"/>
<xs:import namespace="http://www.documentum.com" schemaLocation="dctmAttrs.ent.xsd"/>
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
<xs:group name="alt">
<xs:sequence>
<xs:element ref="alt"/>
</xs:sequence>
</xs:group>
<xs:group name="desc">
<xs:sequence>
<xs:element ref="desc"/>
</xs:sequence>
</xs:group>
<xs:group name="title">
<xs:sequence>
<xs:element ref="title"/>
</xs:sequence>
</xs:group>
<!-- Elements in tblDecl.mod -->
<xs:group name="colspec">
<xs:sequence>
<xs:element ref="colspec"/>
</xs:sequence>
</xs:group>
<xs:group name="entry">
<xs:sequence>
<xs:element ref="entry"/>
</xs:sequence>
</xs:group>
<xs:group name="row">
<xs:sequence>
<xs:element ref="row"/>
</xs:sequence>
</xs:group>
<xs:group name="tbody">
<xs:sequence>
<xs:element ref="tbody"/>
</xs:sequence>
</xs:group>
<xs:group name="tgroup">
<xs:sequence>
<xs:element ref="tgroup"/>
</xs:sequence>
</xs:group>
<xs:group name="thead">
<xs:sequence>
<xs:element ref="thead"/>
</xs:sequence>
</xs:group>
</xs:schema> -
Problem with 'LS' command syntax for generating 'recursive' files list
I'm having trouble getting a recursive (-R) directory listing of the contents of a flash drive --
-- i.e., when I run the 'ls' command with the -R switch (in Terminal), I get either a recursive directory of what appears to be 'all volumes' (i.e., a very large file) or a zero-byte (empty) file.
Terminal also keeps reporting "No such file or directory" but I don't know what it's referring to (it reports it with both the 'zero byte' listing and the 'large file' listing).
Obviously, I'm making some 'syntax error' but I don't know what it is.
Assuming the following . . .
User = MK
Flash drive = NO NAME
. . . what is the correct command syntax to list only the contents of the flash drive (not 'all volumes')?
My last try (it doesn't work) was:
*ls -RTlp /Users/MK/Volumes/NO\ NAME > /Users/MK/Documents/flashdrive.dir*
Thanks.Re: the original post, I should clarify that what I'm looking for is the syntax that will generate the recursive list of the flash drive's files +without first logging the flash drive+ (NO\ NAME) +as the working folder+.
If I do the latter, I can get the recursive listing easily enough.
What I haven't been able to do is generate the listing without first logging NO\ NAME as the working folder.
Thanks. -
*REC Error - missing ) after argument list
Hi all,
Please note the following code
*XDIM_MEMBERSET P_ACCOUNT = 50100010.FOB.FC
*XDIM_MEMBERSET P_PCA = <ALL>
*XDIM_MEMBERSET P_CUSTOMER = P_DUMMY
*XDIM_MEMBERSET P_MONTH AS %DUMMY_MONTH%= 2011_DUMMY_MONTH
*XDIM_MEMBERSET P_MONTH AS %MONTHS% = BAS(2011.TOTAL)
*XDIM_MEMBERSET P_BUDGET_MODEL AS %BUDGET_MODELS% = BAS(2011.TOTAL)
*XDIM_MEMBERSET P_VERSION AS %VERSION% = 10
*LOOKUP COLMOBIL01
*DIM P_CURR_FROM="%P_BUDGET_MODEL%.CURR_FOB"
*DIM P_EXCH_RATE_TYPE="%P_BUDGET_MODEL%.EXCH_RATE_FOB"
*DIM P_CURR_TO="ILS"
*DIM P_ACCOUNT="P_DUMMY"
*DIM P_PCA="9999999999"
*DIM MEASURES="PERIODIC"
*FOR %S_MONTH% = %MONTHS%
*DIM LK_%S_MONTH%:P_MONTH="%S_MONTH%"
*NEXT
*ENDLOOKUP
*WHEN P_ACCOUNT
*IS 50100010.FOB.FC
*FOR %S_MODEL% = %BUDGET_MODELS%
*FOR %S_MONTH% = %MONTHS%
*REC(EXPRESSION=%VALUE%*LOOKUP(LK_%S_MONTH%), P_ACCOUNT=50100010.FOB.ILS)
*NEXT
*NEXT
*ENDWHEN
When I validate it, I receive a message:
LINE 0 syntax error: " missing ) after argument list"
When I delete the *REC line, the validation is OK.
Any idea why do I get this message?Hi Gersh,
I am sorry if I have not been lear. The script passed validation. The "." is not in the name of the variable but in the values of the dimension. My Budget models IDs were YYYY.MODEL1. I have an attribute called MODEL_NOYEAR, which includes the characters to the right of the ".". When I used it and only inside the LOOKUP added the year it worked fine.
My Time dimension has the same issue, It is defined as YYYY.MM. Again, in your last proposed script, you have cycled over a property, which only includes the period number. This gave me the idea.
I know that the REC needs the ( without spaces. Took me one night to find this out....:(
Now, after I have passed validation a new challenge arrived.
Basically each Budget Model has 2 properties. One is the Exchange Rate Type and the other is the currency of purchase. The LOOKUP should be accessing another application based on the Month and the two properties of the model.
It suddenly struck me that the script is not good since the lookup is not bringing the values.
I have tried the following versions:
1. Straight forward version - use the name of the propery of the calling dimension. Did not work.
*DIM L_%SMDL%_%SMNTH%:P_CURR_FROM = P_BUDGET_MODEL.CURR_FOB
2. Use the value of the calling dimension "." the propery name. Did not work
*DIM L_%SMDL%_%SMNTH%:P_CURR_FROM = 2011_%SMDL%.CURR_FOB
3. I have created a variable that should hold the value and then used it. Did not work.
*LOOKUP COLMOBIL01
*DIM P_CURR_TO="ILS"
*DIM P_ACCOUNT="P_DUMMY"
*DIM P_PCA="9999999999"
*DIM MEASURES="PERIODIC"
*FOR %SMDL% = %BUDGET_MODELS%
*FOR %SMNTH% = %MONTHS%
*DIM L_%SMDL%_%SMNTH%:P_CURR_FROM = %CF%
*DIM L_%SMDL%_%SMNTH%:P_EXCH_RATE_TYPE = %ERF%
*DIM L_%SMDL%_%SMNTH%:P_MONTH="%BY%.%SMNTH%"
*NEXT
*NEXT
*ENDLOOKUP
*WHEN P_ACCOUNT
*IS 50100010.FOB.FC
*FOR %SMDL% = %BUDGET_MODELS%
*FOR %SMNTH% = %MONTHS%
*SELECT(%CF%, CURR_FOB, P_BUDGET_MODEL, "ID = 2011_%SMDL%")
*SELECT(%ERF%, EXCH_RATE_FOB, P_BUDGET_MODEL, "ID = 2011_%SMDL%")
*BEGIN
*REC(EXPRESSION=%VALUE%*LOOKUP(L_%SMDL%_%SMNTH%), P_ACCOUNT=50100010.FOB.ILS)
*END
*NEXT
*NEXT
*ENDWHEN
I can not escape the feeling that somehow I do not understand the way the BPC is handling the data and how and when it calculates variables and defines them.
Any idea how do I perform the lookup based on the property values?
Thanks,
Avihay -
Error when generating java classes from object types
Hi,
I'm using JDeveloper version 10.1.3.0.2
I created an object type in the database, the definition is:
TYPE domain_cls IS OBJECT (
domain_idx NUMBER(3)
) NOT INSTANTIABLE NOT FINAL
I tried to create a java class for this object using JDeveloper, by using generate java menu item.
I got the following error:
oracle.jpub.JPubException: Warning: Cannot determine what kind of type is OBJMOI. DOMAIN_CLS. The following error occurred: ORA-06550: line 1, column 13:
PLS-00103: Encountered the symbol "SYS" when expecting one of the following:
:= . ( @ % ;
The symbol ":=" was substituted for "SYS" to continue.
at oracle.jpub.sqlrefl.SqlReflector.addSqlType(SqlReflector.java:519)
at oracle.jpub.sqlrefl.SqlReflector.addSqlUserType(SqlReflector.java:707)
at oracle.jpub.publish.Publisher.addTypeOrPackage(Publisher.java:209)
at oracle.jpub.publish.IntypeParser.TypeDeclaration(IntypeParser.java:238)
at oracle.jpub.publish.IntypeParser.CompilationUnit(IntypeParser.java:75)
at oracle.jpub.Doit.main(Doit.java:257)
at oracle.jpub.Doit.main(Doit.java:102)
at oracle.jdevimpl.cm.dt.jpub.JPubModel.publish(JPubModel.java:1047)
at oracle.jdevimpl.wizard.jpub.JPubPanel.publish(JPubPanel.java:516)
at oracle.jdevimpl.cm.dt.jpub.JPubAddin._doJPub(JPubAddin.java:174)
at oracle.jdevimpl.cm.dt.jpub.JPubAddin.handleEvent(JPubAddin.java:81)
at oracle.ide.IdeAction.performAction(IdeAction.java:661)
at oracle.ide.IdeAction$2.run(IdeAction.java:889)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
any body can hlep in that pleaseI would recommend using JAXB instead of the Oracle class generator. This will give a standards based object-to-XML platform.
Oracle provides two JAXB implementations: one in the TopLink product, and the other in the XDK.
For an example of using TopLink JAXB see:
http://www.oracle.com/technology/products/ias/toplink/technical/tips/jaxb/index.htm
TopLink also provides the ability to map existing Java objects to an existing XML Schema, for an example of this see:
http://www.oracle.com/technology/products/ias/toplink/technical/tips/ox/index.htm
-Blaise -
Error when generating Java Classes from XSD
I'm getting the following error when using oragc to generate Java classes from a schema:
Error: Schema Class Generator failed to generate classes. oracle.xml.parser.schema.XSDException: Invalid facet 'pattern' in element 'simpleType'
Any thoughts?
Here's the part where it is getting the error:
+111 <!-- Timestamp Type - Timezone portion is required and fractional seconds are prohibited -->
+112 <xsd:simpleType name="TimestampType">
+113 <xsd:annotation>
+114 <xsd:documentation>Base type for a date and time stamp</xsd:documentation>
+115 </xsd:annotation>
+116 <xsd:restriction base="xsd:dateTime">
+117 <xsd:pattern value="[1-9][0-9]{3}\-.+T[^\.]+(Z|[\+\-].+)" />
+118 </xsd:restriction>
+119 </xsd:simpleType>I would recommend using JAXB instead of the Oracle class generator. This will give a standards based object-to-XML platform.
Oracle provides two JAXB implementations: one in the TopLink product, and the other in the XDK.
For an example of using TopLink JAXB see:
http://www.oracle.com/technology/products/ias/toplink/technical/tips/jaxb/index.htm
TopLink also provides the ability to map existing Java objects to an existing XML Schema, for an example of this see:
http://www.oracle.com/technology/products/ias/toplink/technical/tips/ox/index.htm
-Blaise -
Bug: generate java objects generates error and does not terminate
During the build of java object generation...the following error occurs (below),
the generation progress dialog does not close,
and the process does not terminate.
Any suggestions?
Thank you.
Albert
va.lang.NullPointerException
at oracle.ideimpl.log.TabbedLogManager.getMsgPage(TabbedLogManager.java:101)
at oracle.toplink.addin.log.POJOGenerationLoggingAdapter.updateTask(POJOGenerationLoggingAdapter.java:42)
at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.fireTaskUpdated(MappingCreatorImpl.java:1049)
at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:231)
at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:201)
at oracle.toplink.addin.wizard.jobgeneration.JobWizard$1.construct(JobWizard.java:401)
at oracle.ide.util.SwingWorker$1.run(SwingWorker.java:119)
at java.lang.Thread.run(Thread.java:595)
ADF configuration: Release 3 (10.1.3)
ADF Business Components 10.1.3.36.73
CVS Version Internal to Oracle JDeveloper 10g (client-only)
Java Platform 1.5.0_05
Oracle IDE 10.1.3.36.73
PMD JDeveloper Extension 1.8
Struts Modeler Version 10.1.3.36.73
UML Modelers Version 10.1.3.36.73
Versioning Support 10.1.3.36.73
Other Configuration:
Os Name Microsoft Windows Xp Home Edition
Version 5.1.2600 Service Pack 2 Build 2600
Os Manufacturer Microsoft Corporation
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Schema:
Create Table Example.Questions
Qid Number Not Null,
Testid Number,
Question Varchar2(4000),
Answer Char(4) Default 'Zzzz' Not Null
Create Table Example.Testgenhistory
Testgenhistory_Testid Number Not Null,
Testid Number Not Null,
Requestor Varchar2(100),
Daterequested Date Default Systimestamp
Create Table Example.Testmaster
Testid Number Not Null,
Testname Varchar2(100),
Ownerrequestor Varchar2(100) Default '[email protected]' Not Null,
Testdatelastmodified Date
Create Table Example.Users
Requestor Varchar2(100) Not Null,
Adminauthority Number Default 0 Not Null
Alter Table Example.Questions
Add Constraint Questions_Pk Primary Key
Qid
Enable
Alter Table Example.Testgenhistory
Add Constraint Testgenhistory_Pk Primary Key
Testgenhistory_Testid
Enable
Alter Table Example.Testmaster
Add Constraint Testmaster_Pk Primary Key
Testid
Enable
Alter Table Example.Users
Add Constraint Users_Pk Primary Key
Requestor
Enable
Alter Table Example.Questions
Add Constraint Questions_Testmaster_Fk1 Foreign Key
Testid
References Myschema.Testmaster
Testid
) Enable
Alter Table Example.Testgenhistory
Add Constraint Testgenhistory_Users_Fk1 Foreign Key
Requestor
References Myschema.Users
Requestor
) Enable
Alter Table Example.Testgenhistory
Add Constraint Testgenhistory_Testmaster_Fk Foreign Key
Testid
References Myschema.Testmaster
Testid
) Enable
Create Index Example.Testmaster_Index1 On Example.Testmaster (Testid);
Create Sequence Example.Qidseq Increment By 1 Start With 1 Minvalue 1 ;
Create Sequence Example.Testidseq Increment By 1 Start With 1 Minvalue 1 ;Hi Anuj,
Sorry for the reply delay. I didn't get a notification of reply on the post.
I am still able to get the error message dialog, along with the failure for the generation to terminate. (reproduced today 4/22/06 and others seem to be seeing it as well).
I can't identify anything specific in the steps.
Basically...
created a new application with ejb, adf, toplink
choose new project
choose toplink generate java objects
choose an existing validated database connection
select objects (all 4 tables in my little schema)
click through (...next...next...) to finish
locks up and dialog appears
I made a video of the steps, including verifying the database connection. If you want to see it, I'll email it to you.
here it is today (I've applied all updates available up to today):
ava.lang.NullPointerException
at oracle.ideimpl.log.TabbedLogManager.getMsgPage(TabbedLogManager.java:101)
at oracle.toplink.addin.log .updateTask(POJOGenerationLoggingAdapter.java:42)
at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.fireTaskUpdated(MappingCreatorImpl.java:1049)
at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:231)
at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:201)
at oracle.toplink.addin.wizard.jobgeneration.JobWizard$1.construct(JobWizard.java:401)
at oracle.ide.util.SwingWorker$1.run(SwingWorker.java:119)
at java.lang.Thread.run(Thread.java:595)
Maybe you are looking for
-
Error while posting Payload from MII to PI
<?xml version="1.0" encoding="UTF-8"?> <p1:UpdateControlRecipeStatus_Async_V01 xmlns:p1="http://bhpbilliton.net/services/ControlRecipe" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:p2="http://bhpbilliton.net/GDT" xmlns:xsi="http://www
-
In the past few days, when I try to open some pages from google search, it leads me to the correct url but it first shows a page that says ATTENTION REQUIRED | CLOUDFARE One more Step Please complete the security check to access www.athriftymrs.com .
-
How to make this function in enviroment?
Hi I think I need some help here. I want to set a enviroment to switch the audio instruments like the VSL performence tool: when I press the first key on the midi keyboard, the first instruments plays , and then the second press , the second instrume
-
Adding self made Xcelsius dashboards to the cockpit in B1 8.8 PL
Hello, How can I add self made Xcelsius dashboards to the cockpit in SAP Business One 8.8 PL12? Thanks.
-
Same as the crazy title says... I just want to know the answer to the question... I'm honestly getting frustrated at Apple's Support Communities... Having to sign in 40 times before I got this far... Anyway! Please, I just want to know if I should ju