Deployment Tool Error - unknown document type - Add to Application EJB jar
I am creating a new application in the J2EE deployment tool and adding an EJB JAR to it. The jar contains the ejb-jar.xml file. This file has the standard doctype:
<!DOCTYPE ejb-jar PUBLIC
'-//Sun Microsystems, INC.//DTD Enterprise JavaBeans 1.1//EN'
'file:/C:/j2sdkee1.3/lib/dtds/ejb-jar_2_0.dtd'>
I get the Unknown Document Type error when I try to add this jar to the application:
Error: Adding EJB JAR - java.lang.RuntimeException: Invalid XML : Unknown document type : org.apache.crimson.tree.Doctype@e8647
The xml file validates fine in NetBeans 3.4. I use NetBeans to generate the jar file.
Any ideas as to what is happening would be appreciated.
Try replacing the DTD definition as specified below.
http://java.sun.com/dtd/ejb-jar_2_0.dtd
regards,
Siddique
Similar Messages
-
Contribute CS4 error "No Document Types. The application will exit now."
Contribute was working fine, until my husband updated my iMac to Mountain Lion. Now I can't even get the product to launch. I uninstalled Contribute CS4 and re-installed it with no change in the issue. HELP!
LindaMountain LION is not a supported platform for Adobe Contribute CS4. The supported versions are Latest Adobe Contribute 6.5 and Adobe Contribute CS5.X.
-
Error: unknown entity type 'Archive' when building external library
Hi,
This is what I get when trying to build a external library in SP14. If I look at the Libraries.pp files there are entries like this:
<entity>
<name>CLASSES12.JAR</name>
<package></package>
<caption>CLASSES12.JAR</caption>
<description></description>
<entity-type>Archive</entity-type>
<entity-sub-type>Java Library</entity-sub-type>
</entity>
CLASSES12.JAR is a jar file I've added to the libraries folder and then added to the Public part (used <a href="/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro blog</a> as an example)
Build log:
Development Component Build (2006-02-23 10:27:16)
Component name: lib
Component vendor: XXXXXXXXX.com
SC compartment: MyComponents
Configuration: LocalDevelopment
Location: local
Source code location: jarpak@XXXXXXXXX
DC root folder: C:\Documents and Settings\jarpak\.dtc\LocalDevelopment\DCs\XXXXXXXXX\lib\_comp\
DC type: External Library
Host: XXXXXXXXX
DC Model check:
[dcmake] All used DCs are available locally
[dcmake] validating dependency to build plugin "sap.com/tc/bi/bp/externalarchive"
[dcmake] DC model check OK
Start build plugin:
[dcmake] using build plugin: sap.com/tc/bi/bp/externalarchive
[dcmake] starting build plugin from : C:\Program Files\SAP\JDT\eclipse\plugins\com.sap.tc.ap\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\externalarchive\_comp\gen\default\public\lib\
Build Plugins Version 6.40.0.111 (ExternalArchivePlugin, 630_VAL_REL ) from 2005-09-09 23:37:14 CEST
Building development component 'lib', vendor 'XXXXXXXXX', type 'External Library'
software component 'MyComponents', vendor 'sap.com'.
location 'local'.
source code location 'jarpak@XXXXXXXXX'.
General options:
convert *.xlf to *.properties: yes
include sources for debugging: yes
Reading BuildInfrastructure extension from DC tc/bi/util (vendor sap.com)
Added technology 'sap.com/tc/bi/core'
Error: unknown entity type 'Archive'.
Cleaning up.
Regards,
JariHi,
Solved it on my own with
Re: Activation Error: "unknown entity type 'Archive'" thread.
Jari -
Error during invokation of webservices: "error: unknown java type:"
hi,
I'm having issues with invoking a webservice from the "WebLogic Test Client". The webservice exposes the methods from a stateless session EJB and Weblogic Workshop was used to create the webservice controls
Weblogic version: 10.0 mp1
Pls. advise.
Error message ...
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header />
<env:Body>
<env:Fault>
<faultcode>env:Server</faultcode>
<faultstring>error: unknown java type: com.margin.engine.entity.ClientSet</faultstring>
<detail>
<bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">com.bea.xml.XmlRuntimeException: error: unknown java type: com.margin.engine.entity.ClientSet
at com.bea.staxb.runtime.internal.FailFastErrorHandler.add(FailFastErrorHandler.java:45)
at com.bea.staxb.runtime.internal.MarshalResult.addError(MarshalResult.java:265)
at com.bea.staxb.runtime.internal.AnyTypeRuntimeBindingType.determineActualRuntimeType(AnyTypeRuntimeBindingType.java:84)
at com.bea.staxb.runtime.internal.RuntimeBindingProperty.getActualRuntimeType(RuntimeBindingProperty.java:110)
at com.bea.staxb.runtime.internal.PushMarshalResult.walkRankOneSoapArray(PushMarshalResult.java:570)
at com.bea.staxb.runtime.internal.PushMarshalResult.walkSoapArray(PushMarshalResult.java:534)
at com.bea.staxb.runtime.internal.PushMarshalResult.visit(PushMarshalResult.java:437)
at com.bea.staxb.runtime.internal.SoapArrayRuntimeBindingType.accept(SoapArrayRuntimeBindingType.java:59)
at com.bea.staxb.runtime.internal.PushMarshalResult.writeContents(PushMarshalResult.java:192)
at com.bea.staxb.runtime.internal.PushMarshalResult.marshalTopType(PushMarshalResult.java:93)
at com.bea.staxb.runtime.internal.MarshallerImpl.marshalBindingType(MarshallerImpl.java:302)
at com.bea.staxb.runtime.internal.MarshallerImpl.marshalType(MarshallerImpl.java:435)
at weblogic.wsee.bind.runtime.internal.LiteralSerializerContext.marshalType(LiteralSerializerContext.java:70)
at weblogic.wsee.bind.runtime.internal.BaseSerializerContext.internalSerializeType(BaseSerializerContext.java:175)
at weblogic.wsee.bind.runtime.internal.BaseSerializerContext.serializeType(BaseSerializerContext.java:95)
at weblogic.wsee.codec.soap11.SoapEncoder.encodePart(SoapEncoder.java:284)
at weblogic.wsee.codec.soap11.SoapEncoder.encodeReturn(SoapEncoder.java:205)
at weblogic.wsee.codec.soap11.SoapEncoder.encodeParts(SoapEncoder.java:192)
at weblogic.wsee.codec.soap11.SoapEncoder.encode(SoapEncoder.java:119)
at weblogic.wsee.codec.soap11.SoapCodec.encode(SoapCodec.java:128)
at weblogic.wsee.ws.dispatch.server.CodecHandler.encode(CodecHandler.java:103)
at weblogic.wsee.ws.dispatch.server.CodecHandler.handleResponse(CodecHandler.java:50)
at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:236)
at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:220)
at weblogic.wsee.ws.dispatch.server.ServerDispatcher.callHandleResponse(ServerDispatcher.java:135)
at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:108)
at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:257)
at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3395)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
</bea_fault:stacktrace>
</detail>
</env:Fault>
</env:Body>
</env:Envelope>Olivier, thank you so much
SOAMANAGER does not exist in my system (sp level 8), so node "/sap/bc/soap/rfc" should be active. Actually, it is active.
I think the problem is related to user rights/profiles.
I have tried to create another WS after assigning role SAP_BC_WEBSERVICE_ADMIN. The same error when trying to activate it, but now, I can see this WS in SE80 (under "Enterprise Services->Service Definition"). It is not active there and if I try to activate it, a success message appears indicating that user "is not authorized to use function netzwerkadministration". I cannot see any new services in SICF...
Probably the new entry in SICF will be created after activating WS in SE80...
Do u know what user profile should I add in order to properly activate the WS in SE80?
Thank you very much!
Vicente -
Getting SES to index unknown document types in UCM?
Hi
We have a SES set up to crawl/index a Oracle UCM, and when configuring the crawler source we can define which document types it should crawl/index. It makes sense that SES only knows how to index the content of some known document types, but why can SES not index any document type without looking inside the actual document? I mean, it is possible to upload any document type in UCM and give it UCM specific metadata like title and so on, and it should be easy for SES to index these UCM metadata for unknown document types also.
How can I get SES to crawl/index all unknown document types?
Thank you
SørenI've checked with our UCM connector expert, and he says all document types are passed from UCM to SES.
So hopefully it should be just a matter of editing the crawler.dat file (found in $ORACLE_HOME/search/data/config)
You would need to add a MIMEINCLUDE line for the mimetype of the documents you want included - if you're not sure what the mimetype is for any document, you can usually see it in the crawler log file.
You'd also need to check that the document suffix is not in the list:
# default file name suffix exclusion list
RX_BOUNDARY (?i:(?:\.jar)|(?:\.bmp)|(?:\.war)|(?:\.ear)|(?:\.mpg)|(?:\.wmv)|(?:\.mpeg)|(?:\.scm)|(?:\.iso)|(?:\.dmp)|(?:\.dll)|(?:\.cab)|(?:\.so)|(?:\.avi)|(?:\.wav)|(?:\.mp3)|(?:\.wma)|(?:\.bin)|(?:\.exe)|(?:\.iso)|(?:\.tar)|(?:\.png))$You can edit this list to remove any suffixes that you do want included. -
Reason for Error "Unknown field type (28) encountered."
Hello,
I'm from Germany, so sorry for my English first.
I got the error "Unknown field type (28) encountered." when I run
a simple "SELECT * FROM system.functions" on my ADD-Database.
The solution for this problem is found in the KBA 2145730.
If I use the ADS DLLs v. 11.10.0.22 I got the error, but if I use the
ADS DLLs v. 9.10.0.35 everything is fine.
For solving other problems I think it would be better to use the newest
version, but in this case I can't. At this time it is not a problem, because
I can't find any real reason so that I must update for now, but nevertheless
I'd like to know, why this error occurs. What is type 28? Or (what real
would be great) can I make changes to my software, so that I can
avoid this problem? I hope you can help me with this "riddle" and wish
all of you a great day.
Greetings from Germany,
Gerit FreericksFor backwards compatibility the server will send different field types (i.e. char vs varchar, ansi vs unicode, etc).
The server determines this based on the ACE (Advantage Client Version). By swapping in new DLLs you are telling the server that you are running a newer client and it can send the newer field types etc for the system tables.
In addition to swapping the DLLs re-build the application with the new TDataSet (re-compile) and this should resolve your issue.
For the field types look at ACE.pas (or ACE.h) in the TDataSet (on the latest). It looks like 28 is an NMEMO (Unicode Memo field) -
Document Type specific to Application Type
Dear All,
Can any one guide me how to configure Document Type specific to Application Type in DMS.
What I mean, Doc Type 'DRW' should be used only ACAD Drawings, user should not able to attach or check in word document to it.
same time Doc Type 'DOC' should be used only word document , user should not able to attach or check in ACAD Drawings to it.
Thanks & Rgds,
Sukan
[email protected]Hi Sukan,
Go to Tcode<b> "DC10"</b> i.e. Define Document types
here you find the two fields <b>"Def WS Appl."</b> and <b>"Dis WS applic."</b>
these two fields are for specifying the Application you need for a particular document types.
so when you try to create a DIR and attach the Original by create or open then
by default you see the application what you have set in the DC10 for that particular document type but can be changed.
<i>So you need to put a check on field "<b>DAPPL"</b> i.e. Authorization check through Object <b>"C_DRAW_DOK"[/</b>i]
Regards
Rehman
Reward Your Points If Useful -
JavaScript error: unknown jsval type
Almost every time I save after making a change in
Dreamweaver, I get this message:
"The following translators were not loaded due to errors:
The following JavaScript error(s) occurred:
unknown jsval type ----- for XDR."
Where those hyphens are in the last line are two boxes and an
uppercase A with an umlaut (two dots) above it -- in other words,
some strange characters.
Does anyone know what this means? I can't reproduce the
message now, but the new content is not appearing.
Thanks,
Ellen
P.S. I posted this a while ago but no one answered and I'd
really like to know what's causing it.You can try this simple fix (if Windows) -
Quit DW.
Find this folder -
C:\Documents and Settings\<username>\Application
Data\Macromedia\Dreamweaver
8\Configuration\WinFileCache-*.dat
(these folders are normally hidden - you may have to use
Explorer > Tools >
Folder Options to unhide them)
and delete it.
Restart DW. Works better?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Ellen Finkelstein" <[email protected]>
wrote in message
news:edvp0d$1l4$[email protected]..
> Almost every time I save after making a change in
Dreamweaver, I get this
> message:
> "The following translators were not loaded due to
errors:
> The following JavaScript error(s) occurred:
>
> unknown jsval type ----- for XDR."
> Where those hyphens are in the last line are two boxes
and an uppercase A
> with
> an umlaut (two dots) above it -- in other words, some
strange characters.
>
> Does anyone know what this means? I can't reproduce the
message now, but
> the
> new content is not appearing.
> Thanks,
> Ellen
> P.S. I posted this a while ago but no one answered and
I'd really like to
> know
> what's causing it.
> -
JavaScript error "unknown fsval type" in template
I recemtly added an image and some text to a template. The
new stuff has some simple links, that's all. I updated all the
files based on it and uploaded them, but they don't shown the new
content.
However, sometimes in Dreamweaver, I get this message:
"The following translators were not loaded due to errors:
The following JavaScript error(s) occurred:
unknown jsval type ----- for XDR."
Where those hyphens are in the last line are two boxes and an
uppercase A with an umlaut (two dots) above it -- in other words,
some strange characters.
Does anyone know what this means? I can't reproduce the
message now, but the new content is not appearing.
Thanks,
EllenYou can try this simple fix (if Windows) -
Quit DW.
Find this folder -
C:\Documents and Settings\<username>\Application
Data\Macromedia\Dreamweaver
8\Configuration\WinFileCache-*.dat
(these folders are normally hidden - you may have to use
Explorer > Tools >
Folder Options to unhide them)
and delete it.
Restart DW. Works better?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Ellen Finkelstein" <[email protected]>
wrote in message
news:edvp0d$1l4$[email protected]..
> Almost every time I save after making a change in
Dreamweaver, I get this
> message:
> "The following translators were not loaded due to
errors:
> The following JavaScript error(s) occurred:
>
> unknown jsval type ----- for XDR."
> Where those hyphens are in the last line are two boxes
and an uppercase A
> with
> an umlaut (two dots) above it -- in other words, some
strange characters.
>
> Does anyone know what this means? I can't reproduce the
message now, but
> the
> new content is not appearing.
> Thanks,
> Ellen
> P.S. I posted this a while ago but no one answered and
I'd really like to
> know
> what's causing it.
> -
Javaws error = unknown proxy type:HTTP
os: ubuntu 8.10
kernel: 2.6.27-7
java version: 1.6.0_10
my school district uses an online web grading program (powerschool) which uses a jnlp file. the trouble is, no matter what i set my proxy variables for in the controlpanel, java spits out this error on line 1:
com.pearson.powerschool.sdk.common.SDKRemoteException:java.net.SocketException: Unknown proxy type : HTTPany help would be greatly appreciated.I have a similar problem when trying to connect to a different online programme ( an online database) using Vista Business.
Other users have got around it by adding the URL of the server or the site to their list of sites not to use a proxy server for in their web browser.
Unfortunately I can only get online through a proxy-server so adding it to this list means I wont be able to connect at all. -
Error: Unknown Resource Type
I am defining a resource in Oracle's OC4J:
oracle.jdbc.pool.OracleConnectionPoolDataSource
When I attempt a "lookup", I get an error:
Error instantiating web-app JNDI-context: Unknown resource type: oracle.jdbc.pool.OracleConnectionPoolDataSource
Any ideas?ok man you shell set teh class12.jar in you server class path , try it
-
Test Stand 2010 Deployment tool Error
Dear All,
Whilst attempting to deploy a Test Stand system I am coming across the following error:
Error: Unable to find all subVIs from saved VIs. Either a subVI is missing or the VI is not saved in the current LabVIEW version.
The call chain to missing VIs:
1 - initialise_resistor_card.vi
2 - pipx40 Initialize.vi (missing)
I have the Teststand Adaptor set to Labview Run-time Engine --> "Auto detect using VI version"
This is a new feature in Test Stand 2010 right? So is the deployment tool also able to inherit the ability to auto detect the version of runtime engine to use on a deployed machine?
Any ideas?
Regards
There is no problem with the VI within the sequence.
I've encountered this before before with the deployment tool and usually mass compilling or opening and closing the VIs heirarchy helps, but in this case I just can't get the deployemnt tool to process these VIs.Hello,
So it would appear that the VIs giving the problem are within .llb .
If I open and save them again within the .llb and mass compile the .llb then the same happens, but if I take the VI out of the llb then the problem goes away?
Is there any known issues with the Deployment Utility failing to find VIs with llbs? I notice TS 2010 deployment utility introduces the idea of a Packed Project library option rather than the old SupportVIs folder, could using this be the issue?
Regards
Matt -
Error in starting Websphere: during loading of EJB jar
Hi,
i am using Websphere. When i restart server and one EJB jar gets deployed. following error comes
java.lang.NoClassDefFoundError: org/omg/CORBA/por4able/InputStream
at java.lang.Class.getDeclaredConstructors0(Native Method)
Can any one have any pointers
In case of more details. Please let me know ASAP.
Thanks
~AmanHi,
This is an issue related to classpath. Make sure that all the jars required are placed in your classpath, specially j2ee.jar, bootstrap.jar and so on I don't remember the names.
HTH
VJ -
While click on document shows error"document type not defined"
HI
we have folder structure in DMS like:
public folder->engineering folder->design folder->document(any)
while i am clicking on document it shows error msg document type not defined
please let me know why this error occurHi,
Since you are using document structure functionality, You are require to create an public folder initially and private folder for each user which is specific to user ID.
If you dont want to create private folder you can select "Select document Via in CV03N screen and select only" Selection screen " and not browser.
If the above changes is done then system will not through an error from CV03N screen"document type not defined"
reward points if useful.
Rgds,
Nayeem. -
Sales docu type ZLCO Vs Billing type ZLR - Error
Hi Experts,
Pls help me in the following scenario : I made one sales order with order type ZLCO.(Order relevant Billing type) maintained in VOV8, when i create billing for this order i am getting the following error Sales document type ZLCO cannot be invoiced with billing type ZLR.
Regs.
SRHi,
Pls check whether you have maintained the following settings:
Did you maintain the Billing type ZLR in order related billing type in VOV8 .
Did you maintain the billing relevance B (Relevant for order-related billing - status acc.to order qty) in VOV7.
Did you maintain the copy control from Sales document type ZLCO to billing type ZLR in VTFA.
Regards
M. Lakshmi Narasimhan
Maybe you are looking for
-
How to edit a WFP application through a Visual Basic command console?
Hi, I'm currently working on a little project of mine, based mostly on a Visual Basic command console, and I've had the idea to add a console-controlled Windows Form. What the console will eventually do is run, say, 1000 x 1000 [(1,1), (1,2), (1,3)..
-
Now iOS 7 is out and I put it on my phone. One important app for me is the calendar to manage by daily appointments etc.. What really annoys me is that in the main overview of a month no indication is telling which days have an appointment. No differ
-
Receipt of FG in to stocks where no PP not implemented
Hi Experts For a manufacturing industry (who has production process), we need to implement MM, SD and FICO only. So, raw material consumption can be expensed to cost centers belong to production dept, But how to bring the finished goods (that are pro
-
Had my iPhone 4S since November 2011, dropped it yesterday and cracked and scratched the screen. Could I return it back to Apple and get a replacement with the 1 year warranty or would I have to pay something as well? Thanks
-
How do I put all my seperate video files into one DVD?
Hey friends, Toby here again, thanks so much for giving me hint to the scroll bar, I've finished putting the audio into the video as well as the effects. Which means my movie's almost complete! However, while I await the music from my composers to be