Problem facing while generating classes for mixed="true" in jaxb
<complexType name="ANY" abstract="true"></complexType>
<complexType name="BIN" abstract="true" mixed="true">
<complexContent>
<extension base="tns:ANY"></extension>
</complexContent>
</complexType>
When JAXB is generating the classes for above complex types. It is not generationg java.util.List
getContent() method for BIN complex type.
Can Someone please tell me how can i generate that method . without changing the sche
[POI FAQ|http://poi.apache.org/faq.html]
[POI Mailing Lists|http://poi.apache.org/mailinglists.html]
Similar Messages
-
Failed to generate classes for home
Using RMI we successfully connected Oracle OC4j 9.0.3 EJB to WL7.0 EJB but since
our upgrade we are getting the following
Any Ideas
Cheers
Bruce
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Failed to generate
class for com.towertechnology.wc.sis.ejb.lette
rurl.LetterURL_aleqcw_HomeImpl_811_WLStub ]
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:662)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:651)
at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:59)
at weblogic.common.internal.RemoteObjectReplacer.resolveObject(RemoteObjectReplacer.java:249)
at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:134)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectStreamClass.invokeMethod(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:140)
at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:91)
at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:161)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:264)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:230)
at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(Unknown Source)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:337)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:332)
at javax.naming.InitialContext.lookup(InitialContext.java:345)
at com.workcover.proc.SeraphApplication.getHome(SeraphApplication.java:144)
at com.workcover.proc.SeraphApplication.call(SeraphApplication.java:85)
at com.workcover.proc.SeraphApplication.call(SeraphApplication.java:77)
at com.workcover.proc.RMIProxyBean.call(RMIProxyBean.java:56)
at RMIProxy_StatelessSessionBeanWrapper24.call(RMIProxy_StatelessSessionBeanWrapper24.java:117)
at com.workcover.proc.HttpCallProxy.invokeEJB(HttpCallProxy.java:129)
at com.workcover.proc.HttpCallProxy.doPost(HttpCallProxy.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:560)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:148)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Unknown Source)Anyone have an answer for this problem? I'm getting it with 7.0 SP3. Not helpful that WLS doesn't not give any reason why it fails.
-
Reusing JAXB generated classes for XSDs included in other XSDs
Hi,
I use xsds with jaxb in a number of related projects. To avoid duplication I've factored out commonly used elements into their own xsd in a separate project. I then include these in the xsds that need them.
I generate classes with jaxb for each project. I'm now trying to get jaxb so far as to reuse the already generated classes for the common elements.
For example: I have a general xsd Person.xsd for which I generate classes in common.xsd. I have another xsd Project.xsd that includes a reference to the Person element. When i let jaxb generate classes for Projects.xsd, it will also generate a project.xsd.PersonType and so on.
Is there any way to tell JAXB to use the existing classes? I've played around with the <jxb:javaType> bindings, but I can't get it to work yet. It gives me a "bindings not used" warning and doesn't compile. Also, if this is in fact the way to go, what do I specify as the parseMethod and printMethod attributes for the javaType element?
Thx for any helpJAXB questions should be better directed to the users list of http://jaxb.dev.java.net/
you should subscribe to the 'users' mailing list, then post a question there.
Thank you! -
Generating classes for all types in WSDL
Is there a way to get Flash Builder to generate classes for all the complex types found in a WSDL?
The web service I am trying to connect to essentially has one method that takes a BaseRequest object and returns a BaseResponse object. If passed a DerivedRequest object (extending BaseRequest), it returns a DerivedResponse (extending BaseResponse). However, Flash Builder only generates classes for BaseRequest and BaseResponse, and not DerivedRequest or DerivedResponse.
Thanks for any helpThe Web Service import wizard generates Value Object classes for all the associated data types required by the imported operations. Say you imported only 2 out of 10 operations mentioned in the WSDL, you will have classes generated for only those data typed required by the 2 imported operations, which may not result in generation of all data types.
In the case mentioned by you, what I assume is that, the operations are mentioned in the WSDL to return the BaseResponse and take BaseRequest as param.
Now using the above mentioned logic the introspector does not know that the derivedResponse may be required and does not import it. Had the operation pointed to the DerivedResponse directly it would have got imported.
A suggested workaround can be that you implement the custom properties in the generated Is there a way to get Flash Builder to generate classes for all the complex types found in a WSDL?
Currently there is no such switch in FB. You may log an enhancement request at http://bugs.adobe.com/jira for the same.
Thanks,
- Gaurav -
Getting Error of Runtime Exceeded while generating OTF for PDF in smartform.
Hi All,
I am getting a error of runtime exceeded while generating OTF file for PDF in smartform through FM. The report is taking too much time before giving the output...and most of the time going to dump saying report has exceeded the runtime. All is working well till the Smartform FM reached. I debugged this FM and found that the TABLES parameter is having problem, may be there are too many tables in that parameter.Please help. Below is the code-
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = c_form_name
IMPORTING
fm_name = v_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
CALL FUNCTION v_fm_name
EXPORTING
control_parameters = wa_control
output_options = wa_output
user_settings = 'X'
spl_gl = p_spl_gl
open_dt = p_budat
bukrs = p_bukrs
w_check = w_check
w_check1 = w_check1
IMPORTING
* document_output_info =
job_output_info = wa_otf
* job_output_options =
TABLES
kna1 = t_kna1
bsid_p = t_bsid_p
bsid = t_bsid
TEXT = t_text
spl = t_spl
bsid_x = t_bsid_x
bsid_l = t_bsid_l
bsid_h = t_bsid_h
bsid_q = t_bsid_q
bsid_tot = t_bsid_tot
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5Hi
Yes as Eltan says you need to consider there are two blocks of abap program:
- the first one is the driver program (but it seems there's no problem here because it called the smartform quickly)
- the second one is inside the smartform (It's possible to write abap routine in the smartform), and it seems the problem could be here
The variable c_form_name has the name of the smartform, you can manage it by transaction SMARTFORMS
but now it's not possible to say you why the print takes too long time, you need to do a trace
Max -
Wscompile only generates classes for the first wsdl:portType encountered
Greetings.
When
compiling a WSDL with port types as follows below;
classes are generated for port type: AccountsManagement only.
<portType name="AccountsManagement">
<operation name="CreateAccount" parameterOrder="Account">
<input message="tns:CreateAccountReq"/> <!-- name defaults to CreateAccountReqRequest -->
<output message="tns:CreateAccountReqResponse"/>
</operation>
<operation name="CreateAccountForPerson" parameterOrder="Account UniqueId">
<input message="tns:CreateAccountForPersonReq"/>
<output message="tns:CreateAccountForPersonReqResponse"/>
</operation>
</portType>
<portType name="PersonsManagement">
<operation name="AddPerson" parameterOrder="Person">
<input message="tns:AddPersonReq" name="AddPersonReq"/>
<output message="tns:AddPersonReqResponse" name="AddPersonReqResponse"/>
</operation>
<operation name="AddPersonWithAccount" parameterOrder="Person Account">
<input message="tns:AddPersonWithAccountReq" name="AddPersonWithAccountReq"/>
<output message="tns:AddPersonWithAccountReqResponse" name="AddPersonWithAccountReqResponse"/>
</operation>
</portType>
<portType name="TellersOperations">
<operation name="ListAccountsForPerson" parameterOrder="UniqueId">
<input message="tns:ListAccountsForPersonReq"/>
<output message="tns:ListAccountsForPersonReqResponse"/>
</operation>
</portType>Netbeans output:
init:
wscompile-init:
Created dir: C:\PROJECTS\WSTest\build\generated\wsclient
Created dir: C:\PROJECTS\WSTest\build\generated\wsservice
Created dir: C:\PROJECTS\WSTest\build\generated\wsbinary
TestBankingService_wscompile:
command line: wscompile "C:\Program Files\Java\jdk1.5.0_03\jre\bin\java.exe" -classpath "C:\Program Files\Java\jdk1.5.0_03\lib\tools.jar;C:\Program Files\netbeans-4.1\SunAppServer8.1\lib\j2ee.jar;C:\Program Files\netbeans-4.1\SunAppServer8.1\lib\saaj-api.jar;C:\Program Files\netbeans-4.1\SunAppServer8.1\lib\saaj-impl.jar;C:\Program Files\netbeans-4.1\SunAppServer8.1\lib\jaxrpc-api.jar;C:\Program Files\netbeans-4.1\SunAppServer8.1\lib\jaxrpc-impl.jar" com.sun.xml.rpc.tools.wscompile.Main -d "C:\PROJECTS\WSTest\build\generated\wsbinary" -features:wsi,strict -import -keep -mapping "C:\PROJECTS\WSTest\web\WEB-INF\TestBankingService-mapping.xml" -nd "C:\PROJECTS\WSTest\build\web\WEB-INF\wsdl" -s "C:\PROJECTS\WSTest\src\java" -verbose -Xprintstacktrace "C:\PROJECTS\WSTest\src\java\bankers\server\TestBankingService-config.xml"
[ServiceInterfaceGenerator: creating service interface: bankers.server.TestBankingService]
[CustomClassGenerator: generating JavaClass for: Account]
BUILD SUCCESSFUL (total time: 2 seconds)There should be a class for Person as well. If I move port type:
PersonsManagement to the top no Account class will be generated, but
instead the Person class will be generated.
Loading up the WSDL in Netbeans (client) works and shows
all three Ports with their respective operations.
Is there a reason for only allowing more than one port type per WSDL?
Checked the man page for switches to "loop" though all portTypes but noluck.
A bug?
Thanks,
WSDL for reference
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="BankingService" targetNamespace="http://www.mycomp.org/schemas/MyWebService"
xmlns:tns="http://www.mycomp.org/schemas/MyWebService"
xmlns:ns1="urn:WS/types"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!-- Type definitions -->
<types>
<xsd:schema targetNamespace="urn:WS/types">
<xsd:element name="Person" type="ns1:Person"/>
<xsd:element name="Account" type="ns1:Account"/>
<xsd:element name="ListOfAccounts" type="ns1:ListOfAccounts"/>
<xsd:element name="ResultCode" type="xsd:unsignedInt"/>
<xsd:element name="AccountNumber" type="xsd:string"/>
<xsd:element name="UniqueId" type="xsd:string"/>
<xsd:complexType name="Person">
<xsd:sequence>
<xsd:element name="DisplayName" type="xsd:string"/>
<xsd:element name="UniqueId" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Account">
<xsd:sequence>
<xsd:element name="Number" type="xsd:string"/>
<xsd:element name="Type" type="xsd:token"/>
<xsd:element name="Amount" type="xsd:integer"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ListOfAccounts">
<xsd:sequence>
<xsd:element name="Account" type="ns1:Account" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</types>
<message name="AddPersonReq">
<part name="Person" element="ns1:Person"/>
</message>
<message name="AddPersonReqResponse">
<part name="ResultCode" element="ns1:ResultCode"/>
</message>
<message name="AddPersonWithAccountReq">
<part name="Person" element="ns1:Person"/>
<part name="Account" element="ns1:Account"/>
</message>
<message name="AddPersonWithAccountReqResponse">
<part name="AccountNumber" element="ns1:AccountNumber"/>
</message>
<message name="CreateAccountReq">
<part name="Account" element="ns1:Account"/>
</message>
<message name="CreateAccountReqResponse">
<part name="AccountNumber" element="ns1:AccountNumber"/>
</message>
<message name="CreateAccountForPersonReq">
<part name="Account" element="ns1:Account"/>
<part name="UniqueId" element="ns1:UniqueId"/>
</message>
<message name="CreateAccountForPersonReqResponse">
<part name="AccountNumber" element="ns1:AccountNumber"/>
</message>
<message name="ListAccountsForPersonReq">
<part name="UniqueId" element="ns1:UniqueId"/>
</message>
<message name="ListAccountsForPersonReqResponse">
<part name="Accounts" element="ns1:ListOfAccounts"/>
</message>
<!--
NOTE THAT wscompile WILL PICK THE FIRST AND ONLY FIRST portType
IS THIS A BUG OR A FEATURE?
-->
<portType name="AccountsManagement">
<operation name="CreateAccount" parameterOrder="Account">
<input message="tns:CreateAccountReq"/> <!-- name defaults to CreateAccountReqRequest -->
<output message="tns:CreateAccountReqResponse"/>
</operation>
<operation name="CreateAccountForPerson" parameterOrder="Account UniqueId">
<input message="tns:CreateAccountForPersonReq"/>
<output message="tns:CreateAccountForPersonReqResponse"/>
</operation>
</portType>
<portType name="PersonsManagement">
<operation name="AddPerson" parameterOrder="Person">
<input message="tns:AddPersonReq" name="AddPersonReq"/>
<output message="tns:AddPersonReqResponse" name="AddPersonReqResponse"/>
</operation>
<operation name="AddPersonWithAccount" parameterOrder="Person Account">
<input message="tns:AddPersonWithAccountReq" name="AddPersonWithAccountReq"/>
<output message="tns:AddPersonWithAccountReqResponse" name="AddPersonWithAccountReqResponse"/>
</operation>
</portType>
<portType name="TellersOperations">
<operation name="ListAccountsForPerson" parameterOrder="UniqueId">
<input message="tns:ListAccountsForPersonReq"/>
<output message="tns:ListAccountsForPersonReqResponse"/>
</operation>
</portType>
<binding name="AccountsManagementBinding" type="tns:AccountsManagement">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="CreateAccount">
<soap:operation soapAction=""/>
<input name="CreateAccountReq">
<soap:body use="literal"/>
</input>
<output name="CreateAccountReqResponse">
<soap:body use="literal"/>
</output>
</operation>
<operation name="CreateAccountForPerson">
<soap:operation soapAction=""/>
<input name="CreateAccountForPersonReq">
<soap:body use="literal"/>
</input>
<output name="CreateAccountForPersonReqResponse">
<soap:body use="literal"/>
</output>
</operation>
</binding>
<binding name="PersonsManagementBinding" type="tns:PersonsManagement">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="AddPerson">
<soap:operation soapAction=""/>
<input name="AddPersonReq">
<soap:body use="literal"/>
</input>
<output name="AddPersonReqResponse">
<soap:body use="literal"/>
</output>
</operation>
<operation name="AddPersonWithAccount">
<soap:operation soapAction=""/>
<input name="AddPersonWithAccountReq">
<soap:body use="literal"/>
</input>
<output name="AddPersonWithAccountReqResponse">
<soap:body use="literal"/>
</output>
</operation>
</binding>
<binding name="TellersOperationsBinding" type="tns:TellersOperations">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="ListAccountsForPerson">
<soap:operation soapAction=""/>
<input name="ListAccountsForPersonReq">
<soap:body use="literal"/>
</input>
<output name="ListAccountsForPersonReqResponse">
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="BankingService">
<port name="AccountsManagementService" binding="tns:AccountsManagementBinding">
<soap:address location="__URL__"/>
</port>
<port name="PersonsManagementService" binding="tns:PersonsManagementBinding">
<soap:address location="__URL__"/>
</port>
<port name="TellersOperationsService" binding="tns:TellersOperationsBinding">
<soap:address location="__URL__"/>
</port>
</service>
</definitions>I saw this post elsewhere:
JAXRPC specification required support for only subset of schema types. Abstract schema type support was not required. For the schema types that are not supported, the spcification requires that they should be mapped to javax.xml.soap.SOAPElement.
This is what jaxrpc wscompile tool does. At tool time, the type in the sample code posted is extended frm an abstract type so it should be getting mapped to SOAPElement. SOAPElement extends Node and Element. You may like to see its javadoc.
-vivek.
This is basically the behavior I am seeing, but I don't see this as being extended from an abstract type. if someone can see that and explain that to me I would appreciate it....if this is even the right path to the answer to my problem. -
Syntax error for automatic generated class for object MAS_AUTH_CUST
Hi,
I am configuring the mobile sales scenario. I encountered a weird problem. Basically the automatically generated class ZDOECL_013_00H_MWSR can not be activated. If you activate it manually it will give you the below error. Looks like the entity structure is too big. So the generated code has a very big loop which causes the dump. I found the issue when try to run the function module CRM_AUTH_CUST_INSERTCDS as suggested in the configuration guide.
I have tried to regenerate the object. But it still give me the same error.
Internal error occured during runtime generation of Class ZDOECL_013_00H_MWSR (Dump ID: GEN_BRANCHOFFSET_LIMIT_REACHED)
Message no. OO053
Diagnosis
An internal error occurred when the system tried to generate the runtime objects of the class. A dump has been created with the given dump ID. It can be analyzed using transaction ST22.
Our Netweaver version as below. It should contain already the latest patch etc.
SAP_ABA 711 0006 SAPKA71106
SAP_BASIS 711 0006 SAPKB71106
PI_BASIS 711 0006 SAPK-71106INPIBASIS
ST-PI 2008_1_710 0004 SAPKITLRE4
SAP_BW 711 0006 SAPKW71106
CRMSPGWY 110 0004 SAPK-11004INCRMSPGWY
CRM version.
SAP_ABA 702 0006 SAPKA70206
SAP_BASIS 702 0006 SAPKB70206
PI_BASIS 702 0006 SAPK-70206INPIBASIS
ST-PI 2008_1_700 0002 SAPKITLRD2
SAP_BS_FND 702 0004 SAPK-70204INSAPBSFND
SAP_BW 702 0006 SAPKW70206
LCAPPS 2005_700 0009 SAPKIBHD09
SAP_AP 700 0022 SAPKNA7022
WEBCUIF 701 0003 SAPK-70103INWEBCUIF
BBPCRM 701 0003 SAPKU70103
WFMCORE 200 0016 SAPK-20016INWFMCORE
VIRSANH 530_700 0011 SAPK-53311INVIRSANH
Any advice is appreciated.
Thanks
Hansen ChenHi,
Gateway1.1 to SAP Netweaver mobile is not supported with EHP1 of SAP Netweaver Mobile 7.10.
Please check the release information note: 1539681
So, i suggest you to install SAP Netweaver Mobile 7.10 with Gateway addon.
Regards,
Siva. -
Jcomgen doesn't generate classes for FineReader 7 engine
Hi,
currently I'm using njawin 1.1.34 to control FineReader 6 Scripting Edition which works quite well :-)
Recently we tried to upgrade to FineReader 7 engine which offers several additional features we'd like to use. Unfortunately jcomgen.exe doesn't generate all the necessary classes; only a few are created although there are lots of entries in the ProgID combobox, the TypeLib GUID seems to be corrent, and the typelib module is selected correctly.
Example:
The FineReader engine exports an object called "Block" and one called "BlocksCollection"; the latter is - as the name suggests - a collection of objects of type "Block ". jcomgen only generates a class for the collection.
Do you have any idea why jcomgen doesn't want to generate all the available classes?
Regards
ThorstenDo you ever figure this out?
I'm trying to use FineReader engine too.
I've tried with 7 to no avail.
Am stuck at the 2nd step with 6, too, though. How do you create the Engine? I'm creating a FuncPtr, but can't figure out how to invoke things and get the created engine back.
Would REALLY appreciate your help!
thanks,
David -
Problem facing while connecting to GPRS for Nokia ...
When I am connecting to GPRS or while doing switch on of my nokia 3110 it screen goes blank and it automatically switch off and switch on.
Hi
I was facing this problem all of a sudden when i use Sigle sign-on method to connect to SAP.
It throws me from my connection process when i reach the code to connect to the company database.
So i uninstalled all SAP components and reinstalled them again (based on one of the earlier post )... this has sorted my issue.
Thank you for your response
Regards
Mini -
Rep-0756 problem facing while opening the report in 10g
Hi,
I am facing problem while opening RDF in oracle 10g.
I follow the next steps.
1. Open the RDF in 10g.
2. Open the PLL in report builder and compile that PLL and save in same path where report located.
3. reattach the library with RDF.
4. Close the RDF
5. Reopen the RDF and facing the error.
6. REP-0756- unable to open attached............
7. I set the report_path in Registry also where PLL exists
Please give me the solution for this problem
Waiting for quick reply.
ashokThank you fs,
I am also facing the similar issue in reports 10g, I am keeping the .pll file in my local machine say c:\me\reports\xyz.pll. When I am opening this pll, I am getting the error REP-0756 though the path 'c:\me\reports\' is added to the REPORTS_PATH. Your suggestion resolved the issue.
Many thanks,
Lokesh. -
Pbm with document name while generating URL for created document
Hi Gurus,<br>
<br>
When we upload a document and generate the URL for that document, and then while we paste the same in the explorer window to access it, I was able to see the dialog asking me whether to save or open the document with the <B>actual document name</B>.<br>
<br>
But, when I create a document using the template which we uploaded in SOLAR_PROJECT_ADMIN, and then generate the URL for that document, and then when I paste it in the explorer window to access it, the dialog now asks me to save or open the document, but it is not with the name of the <b>actual document</b>, but with the name of the <b>template</b>. <br>e.g <b>Business_Blueprint_template</b>.<br>
<br>
Can anyone say why such a problem? and how to solve it.<br>
<br>
Useful answers will certainly be greatly appreciated.<br>
<br>
best regds,<br>
Alagammai.<br>Hi Gerry,
try content matrix it gives you free 25 GB and it keeps metadata
http://www.metalogix.com/Products/Content-Matrix/Features.aspx
Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation -
I am having a problem with enhancing a .class for JDO
Hi
i am having a rpoblem with JDO . please help me for this.
Buildfile: build.xml
compile:
xdoclet:
[ojbdoclet] May 26, 2005 11:08:55 AM xdoclet.XDocletMain start
[ojbdoclet] INFO: Running <ojbrepository/>
[ojbdoclet] May 26, 2005 11:08:56 AM xdoclet.XDocletMain start
[ojbdoclet] INFO: Running <torqueschema/>
build:
build_if_with_mainclass:
enhance-jdori:
[java] Enhancer: options:
[java] verbose = true
[java] quiet = false
[java] forceWrite = true
[java] noWrite = false
[java] sourcePath = null
[java] destinationDirectory = build/classes
[java] propertiesFileName = null
[java] doTiming = false
[java] classNames = {
[java] }
[java] jdoFileNames = {
[java] src/java/org/apache/ojb/tutorial5/Product.jdo
[java] }
[java] classFileNames = {
[java] build/org/apache/ojb/tutorial5/Product.class
[java] }
[java] zipFileNames = {
[java] }
[java] dumpClass = false
[java] noAugment = false
[java] noAnnotate = false
[java] JDO ENHANCER: using file: file:/D:/ojb-blank/ojb-blank/build/org/ap
che/ojb/tutorial5/Product.class
[java] Class Locator: using class files: {
[java] build/org/apache/ojb/tutorial5/Product.class
[java] }
[java] JDO ENHANCER: using file: file:/D:/ojb-blank/ojb-blank/src/java/org
apache/ojb/tutorial5/Product.jdo
[java] -------------------------------------------------------------------
[java] JDO ENHANCER: Enhancer: enhancing classfile ...
[java] JDO ENHANCER: scanning class org.apache.ojb.tutorial5.Product
[java] JDO ENHANCER: not found resource: META-INF/package.jdo
[java] JDO ENHANCER: not found resource: WEB-INF/package.jdo
[java] JDO ENHANCER: not found resource: package.jdo
[java] JDO ENHANCER: not found resource: org/package.jdo
[java] JDO ENHANCER: not found resource: org/apache/package.jdo
[java] JDO ENHANCER: not found resource: org/apache/ojb/package.jdo
[java] JDO ENHANCER: not found resource: org/apache/ojb/tutorial5/package.
do
[java] JDO ENHANCER: found resource: org/apache/ojb/tutorial5/Product.jdo
[java] com.sun.jdori.enhancer.util.InternalError: assertion failed: cannot
find class file for class: org/apache/ojb/tutorial5/Product
[java] at com.sun.jdori.enhancer.util.Assertion.affirm(Unknown Source)
[java] at com.sun.jdori.enhancer.meta.model.EnhancerMetaDataJDOModelIm
l.declareField(Unknown Source)
[java] at com.sun.jdori.enhancer.core.Analyzer.scanFields(Unknown Sour
e)
[java] at com.sun.jdori.enhancer.core.Analyzer.scan(Unknown Source)
[java] at com.sun.jdori.enhancer.core.Controller.scan(Unknown Source)
[java] at com.sun.jdori.enhancer.core.Controller.enhanceClass(Unknown
ource)
[java] at com.sun.jdori.enhancer.filter.Enhancer.enhanceClassFile1(Unk
own Source)
[java] at com.sun.jdori.enhancer.filter.Enhancer.enhanceClassFile(Unkn
wn Source)
[java] at com.sun.jdori.enhancer.Main.enhanceClassFile(Unknown Source)
[java] at com.sun.jdori.enhancer.Main.enhanceInputFiles(Unknown Source
[java] at com.sun.jdori.enhancer.Main.process(Unknown Source)
[java] at com.sun.jdori.enhancer.Main.main(Unknown Source)
[java] Fatal error while enhancing: JDO ENHANCER: An internal error occurr
d while enhancing input class; detailed message: assertion failed: cannot find
lass file for class: org/apache/ojb/tutorial5/Product
[java] com.sun.jdori.enhancer.EnhancerFatalError: JDO ENHANCER: An interna
error occurred while enhancing input class; detailed message: assertion failed
cannot find class file for class: org/apache/ojb/tutorial5/Product
[java] at com.sun.jdori.enhancer.filter.Enhancer.enhanceClassFile(Unkn
wn Source)
[java] at com.sun.jdori.enhancer.Main.enhanceClassFile(Unknown Source)
[java] at com.sun.jdori.enhancer.Main.enhanceInputFiles(Unknown Source
[java] at com.sun.jdori.enhancer.Main.process(Unknown Source)
[java] at com.sun.jdori.enhancer.Main.main(Unknown Source)
[java] aborted with errors.
BUILD FAILED
D:\ojb-blank\ojb-blank\build.xml:226: Java returned: 1
Please help me asap
bye
Rahul S
Senior Software Eng.
Lionbridge Tech Pvt Ltd.Thanks for the suggestion. I have my iphone in an Otter Box and am not aware of getting any water in the phone. I tried cleaning out the docking opening with a toothbrush, no help. I will take your suggestion about going to Apple. Thanks again
-
QR Code/Datamatrix Generator Class for Java
Hi
i want to implement QR Code/Datamatrix in my Application.
Goolging for around 2 hours couldnt give me any results.
Is there a class, api, library, that could help me generating Images out of strings?
Nam"i want to implement QR Code/Datamatrix in my Application."
Then just pick one of the libraries, I rand across literally a dozen while I was looking for that how to implementation for you to code.
Please note for future use--implement has specific meaning to programmers--usually having a do it yourself connotation--as in: I want to build my own package to do this. -
Problems faced while using MicrosoftOfficeInterop
We are developing a windows program solution in which we programmatically access the Excel functionality and control the behaviour of the *.xlsx files.
We are using
Visual Studio 2012 Professsional,
Language C#
Namespace Microsoft.Office.Interop.Excel.
Functions being used are standard functions like
ExcelApp.Workbooks.Open(…….)
WorkBook.Save(..)
WorkBook.Close(..) etc.
To control behaviour of .xlsx files, We are also using events like
BeforeClose
BeforeSave
BeforePrint etc
On few systems (operating systems Windows 7 and above with Microsoft Office 2010 and above) we are facing problems. It gives exception with exception message as “HRESULT: 0x800AC472”. This exception is raised randomly (i.e. if it is raised while
using WorkBook.Save(..) but few seconds before this , same file is successfully saved at same machine and same path. OR if it is raised while using ExcelApp.Workbooks.Open(…….), the same was successful just before few miliseconds.)
We know one instance where it is expected to happen. If we are working on a machine where the office installed is a trial version (i.e. the Product Key id is not entered during installation), the above problem is known to happen. But it disappears immediately
after we feed the Product key. The Program behaves perfectly.
But on few machines where the windows is properly installed and the Office is also properly installed, the above mentioned problem is faced and we are not able to locate why the problem occurs.
Can you guide us to locate the problem and overcome the same?Hi Mukund,
The
Excel for Developers forum is a better place for Office development questions. Please feel free to open a new thread at there.
Thank you for your understanding.
Best Regards,
Franklin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Problem Faced While Using The Expdp Utility in Oracle 10g
We are getting the following error while exporting the tables of a schema.
ORA-39127: unexpected error from call to export_string :=DMSYS.DBMS_DM_MODEL_EXP
.instance_info_exp('DM$P_MODEL_EXPIMP_TEMP','YEARLID',1,1,'10.01.00.03.00',newbl
ock)
ORA-06503: PL/SQL: Function returned without value
ORA-06512: at "DMSYS.DBMS_DM_MODEL_EXP", line 1061
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 4995
ORA-39125: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA while ca
lling DBMS_METADATA.FETCH_XML_CLOB [TABLE:"YEARLID"."CONTACTS_PGRANT_NOV22"]ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22
275
The table CONTACTS_PGRANT_NOV22 has got a column of type CLOB. We are exporting in the metadata only mode. Interestingly when we are exporting only this table individually, we are not getting any problem. Please suggest at the earliest.Hi,
I need to take full export of the database with out data and for all schemas. Can you tell is below syntax correct or not:
expdp system directory=DATA_PUMP dumpfile=FullDB1_Jan25_08.dmp job_name=test3 logfile=FullDB1_Jan25_08_EXPDP.log CONTENT=METADATA_ONLY full=y
if I use above syntax I am not seeing all schema names in log file during expdp as we see in exp option.
Please let me know correct syntax.
Maybe you are looking for
-
Error while importing an RFC from R/3
Hello, I am getting the following error while importing an RFC from an R/3 system in the Repository: ***Ready for import*** Import started... /XXX/YYY_CREATE_NOTIFICATION: + com.sap.aii.ibrep.sbeans.upload.RemoteUploadException: PERMISSION_ERROR Im
-
Windows 7 install problems: MBP problem?
I cannot mount the Windows 7 (Home Premium 64bit) installer DVD no matter what I do on my new (recvd today) MBP. The disk mounts fine on my Mac Pro. I also tried the Windows 7 Ultimate DVD I used to install windows on the Mac Pro using Bootcamp and i
-
Hi all.. can any one help me in this regard.. I wanna buy a new IPhone.. but my problem is am going back to INDIA in september. So can i use the IPHONE in india permanently. Does this WORK ??
-
Using itunes 11.1. Synced apps from iphone and ipad running ios.7. How can I organize all the apps into folders in iTunes. (Existing folders synced from devices but I can't figure out how to make new folders.) Dragging and dropping the apps on top of
-
Authentication for user System denied
hi,installed weblogic6.0, and everthing seemed to go ok but upon starting the server i get java.lang.securityException authentication for user system denied in realm weblogicI am prompted to enter the system password whilst the server is loading whic