JAXB & the W3C schema for schemas
When I try and run JAXB over the W3C schema for schemas I get loads of error messages during the parsing concerning the simple type definitions which restrict the xs:whiteSpace property of xs:simpleType.
Has anybody else tried to run JAXB over the schema for schemas?
Has anyone been successful?
Cheers,
Simon
I also tried to compile Schema for Schemas (normative)
from http://www.w3.org/TR/xmlschema-1/#normative-schemaSchema
This one in definition of schema in fact, but I can't compile it with JAXB. The error messages are :
[ERROR] rcase-Recurse.2: There is not a complete functional mapping between the particles.
line 776 of schema.xsd
[ERROR] derivation-ok-restriction.5.3: Error for type 'all'. The particle of the type is not a valid restriction of the particle of the base.
line 776 of schema.xsd
[ERROR] rcase-Recurse.2: There is not a complete functional mapping between the particles.
line 478 of schema.xsd
[ERROR] derivation-ok-restriction.5.3: Error for type 'simpleRestrictionType'. The particle of the type is not a valid restriction of the particle of the base.
line 478 of schema.xsd
[ERROR] rcase-Recurse.2: There is not a complete functional mapping between the particles.
line 432 of schema.xsd
[ERROR] derivation-ok-restriction.5.3: Error for type 'complexRestrictionType'. The particle of the type is not a valid restriction of the particle of the base.
line 432 of schema.xsd
Failed to parse a schema.
One can see that all messages about the same problem.
It looks like a bug in JAXB because normative schema must be compiled , I guess...
Is anyone has any idea how to solve the problem?
WBR Slava
Similar Messages
-
Is JaxB the correct tool for what I want
(New to JaxB/XML, but good with Java)
I'm using an XML document to hold information about classes. Currently I'm using JaxB and it seems to work ok, but I just had one consern. It would be nice (both faster and less mem) if I could read the XML information into the classes I was using in my program directly. Right now with JaxB, I am reading them into some generated classes and retrieving that information from those classes and putting it into my main classes. What I would like to do is while information for classes is being read in, don't create more memory for them to be stored into, instead store it directly into the main classes. I'm thinking this would be faster. Any ideas? Should I stick with JaxB or is something else better suited for what I want. As an example, my program reads in a List[] Float, but what I really need is a float[] (Yes I know how to convert, but it'ld be nice to start with the float[]) As another example, I read in 3 floats right now as Float[] but what I really need is a class called Vector3f() I'm using, derived from those 3 floats. It would be nice to give me that Vector3f directly instead of making a Float[] and me having to make a Vector3fThat's List Float up there, not List[] Float :)
-
[JAXB 2.x] Defining the XML Schema Type for XmlElementDecl
How can an XML Schema Type (XmlSchemaType) be defined for an XmlElementDecl/Ref?
The classes are as follows:
@XmlRegistry
class ObjectFactory {
// XmlSchemaType is desired, but cannot be used with XmlElementDecl/Ref: @XmlSchemaType(name = "unsignedShort")
@XmlElementDecl(namespace = "urn:com:test:namespace", name = "char", scope = com.test.Arguments.class)
@XmlJavaTypeAdapter(com.test.CharacterAdapter.class )
public JAXBElement<Character> createArgumentsChar(Character value) {
return new JAXBElement<Character>(_ArgumentsChar_QNAME, Character.class, com.test.Arguments.class, value);
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "arguments" })
class Arguments {
@XmlElementRefs( {
@XmlElementRef(name = "char", namespace = "urn:com:test:namespace", type = JAXBElement.class),
protected List<JAXBElement<?>> arguments;
}The desired schema is as follows:
<xs:element name="arguments" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="char" type="xs:unsignedShort" />
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>However, when generating the schema from these classes (schemagen), the resulting "char" element type is "xs:string," not "xs:unsignedShort" as desired. What annotation can be used to indicate that the type should be xs:unsignedShort? If the addition of an annotation is not possible, are there any other ways to accomplish this?
Message was edited by: Shelley (Indicated "JAXB 2")There are mappings between XSD type and Java type table on the Sun website.
-
Is JAXB the best solution to store XML schema in databse
Hi, i have a doubt regarding which is better way to store XML schema to database.
I have looked on JAXB, DOM, SAX.
I should be able to modify the database and store back the changes in XML schema..
i am really consfused about this.
plz suggest me
thanxThank you for your reply
As per as I know JAXB take XML schema as basis to
create tables in database and store the XML data
according to that . I want to store the XML Data in
the database structured according to XML schema
defined by me.I'm not sure how a schema would impact this. Schema is a data definition that constraints a given XML data document. The XML itself is stored as a string. Databases like Oracle now have XML column types and allow you to use XML querying languages and x-Path in normal SQL queries.
There are 2 types of mapping from XML to datbase
Table space and object relational
A tablespace is conceptually similar to a namespace. Object relational mappers go from objects to relational databases and back. I do not see how either of these two concepts are mutually exclusive. And the latter makes no sense if you talking about an object database. There is no O/R mapping because there is no relational database, it's an object database.
I want to do object-relational mapping from XML to
o object oriented database . and the modifications
done on the datbase want to store again in XML. As
per as I know JAXB give us classes as per the XML
schema and we can write DDL to store the data in
databse
JAXB is for marshalling and unmarshalling Java objects to and from XML. The XML itself can be stored in any LOB database column.
Is it the right approach or do you have any better
idea?I still do not really understand what you are trying to do. It seems like you have a bit too much technology soup to consume. What are the actual requirements?
- Saish -
Can someone please try to register the following W3C Schema? It FAILS!
Greetings,
Can someone please try to register the following W3C Schema? It is failing on all attempts by me and I feel there is a possible problem with the parser.
http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd
I used the following...
BEGIN
DBMS_XMLSCHEMA.REGISTERSCHEMA(
schemaurl=>'http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd',
schemadoc=>sys.UriFactory.getUri('http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd'),
local=>FALSE,
gentypes=>TRUE,
genbean=>FALSE,
gentables=>TRUE,
force=>TRUE,
owner=>'XDB');
END;
/After commenting out the refernece to the DTD the schema registers fine for me...
<?xml version="1.0" encoding="utf-8"?>
<!-- <!DOCTYPE schema
PUBLIC "-//W3C//DTD XMLSchema 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd"
<!ATTLIST schema
xmlns:ds CDATA #FIXED "http://www.w3.org/2000/09/xmldsig#">
<!ENTITY dsig 'http://www.w3.org/2000/09/xmldsig#'>
<!ENTITY % p ''>
<!ENTITY % s ''>
]>
-->
<!-- Schema for XML Signatures
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Mar 19 10:57:53 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> spool registerSchema_&4..log
SQL> set trimspool on
SQL> connect &1/&2
Connected.
SQL> --
SQL> declare
2 result boolean;
3 begin
4 result := dbms_xdb.createResource('/home/&1/xsd/&4',
5 bfilename(USER,'&4'),nls_charset_id('AL32UTF8'));
6 end;
7 /
old 4: result := dbms_xdb.createResource('/home/&1/xsd/&4',
new 4: result := dbms_xdb.createResource('/home/XDBTEST/xsd/xmldsig-core-schema.xsd',
old 5: bfilename(USER,'&4'),nls_charset_id('AL32UTF8'));
new 5: bfilename(USER,'xmldsig-core-schema.xsd'),nls_charset
('AL32UTF8'));
PL/SQL procedure successfully completed.
SQL> commit
2 /
Commit complete.
SQL> alter session set events='31098 trace name context forever'
2 /
Session altered.
SQL> begin
2 dbms_xmlschema.registerSchema
3 (
4 schemaURL => '&3',
5 schemaDoc => xdbURIType('/home/&1/xsd/&4').getClob(),
6 local => TRUE,
7 genTypes => TRUE,
8 genBean => FALSE,
9 genTables => &5
10 );
11 end;
12 /
old 4: schemaURL => '&3',
new 4: schemaURL => 'http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd',
old 5: schemaDoc => xdbURIType('/home/&1/xsd/&4').getClob(),
new 5: schemaDoc => xdbURIType('/home/XDBTEST/xsd/xmldsig-core-schema.xsd').getClob(),
old 9: genTables => &5
new 9: genTables => TRUE
PL/SQL procedure successfully completed.
SQL> quit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
$ -
Configuring the authentication scheme for a web application
Hi all,
We have a requirement to configure the authentication scheme for a web application where some set of users should access the application using basic LDAP (userid/password) authentication and some using digital certificate authentication.
Since the deployment descriptor (web.xml) allows only one directive for auth-method in logic-config, we want to know if there is any other way to achieve this requirement. We are thinking of a custom login module approach. But we are not able to figure out how to configure the auth-method at runtime from the login servlet.
Please let us know if there is any other approach to achieve this.
I will be thankful if any body shares any specific solution to this issue.This forum is probably not the correct one to ask in. It's more related to the web container than Java Programming.
Kaj -
I'm trying to get a style switcher going for my site(for the colour scheme)
I'd like to give my users the choice of changing the colour
scheme of my site (
http://chaoscoalition.net) at
will, through css style changing buttons such as the ones on the
forum's theme(
http://forum.chaoscoalition.net).
I've read many articles and tutorials on how to set up
alternate stylesheets for a webpage, but I can't quite get it
right. Every time I seem to have gotten it right, it either opens
the php file that sets the cookie, or it opens the stylesheet as
text. I want to end up with something like the forum's theme
changing module, but for the homepage.
I have 5 different versions of the page made, all as
different pages(php format), but I don't understand how to link the
buttons at the top to trigger the stylesheet change, and I don't
even knwo if it's possible to rely on a css file to change the
whole colour scheme of the page(which is image based).
It'd be great if someone could walk me through this, or offer
some tutorial that explains how to do this from scratch.
Thank you.First, never use Fireworks or any graphics app to build HTML and CSS for you. The resulting code is rigid, fragile and only good for quick comps or prototypes to show a client. Use DW to generate actual site code.
Secondly, external stylesheets must not contain JavaScripts or X/HTML code as your green.css does. Only CSS rules and comments are allowed inside external stylesheets - like so:
/**Green CSS**/
body {
margin:0 auto;/**this centers page**/
padding:0;
width: 900px;
font-family: arial, helvetica, sans-serif;
color: white;
background: green; /**this is green**/
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/ -
What are the accepted values for each Maps parameter in the Apple URL Scheme?
I'm interested in a complete enumerated list of the acceptable VALUES (as in KEY=VALUE) for the URL Scheme defined https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Referen ce/MapLinks/MapLinks.html
Obviously some of those parameters have an enumerated list, some are freeform. I'm just interested in the enumerated ones.Hi,
Have a look at include LBTCHDEF.
The standard include from SAP.
-> Definitions and Constants for Function group BTCH
Kind Regards
Raymond -
How to obtain the encoding scheme for an XML document
How do you go about reading the encoding scheme for an XML document??
More specifically how do I read the line:
<?xml version="1.0" encoding="UTF-8"?>
(Using Win32 C++ XML Parser 2.0.3 as SAX).
nullI work mostly with the Java versions of the parser so you'll have to make the translation to C++. As far as I know, you can't use the SAX API to access to the encoding.
You need to use the DOM along with Oracle's extension to the basic DOM functionality. Oracle's package, oracle.xml.parser.v2 defines a class which implements the Document interface called XMLDocument. This class has a method, getEncoding(), which returns the encoding. You would use the method in getDocument() in the Parser base class inherited by DOMParser to retrive the XMLDocument.
Jeff -
I get this exception (and long stack trace) when attempting to start my weblogic server. I'm running Weblogic 7 with Portal 7 (sp 1). I'm using Oracle 8.1.7. I upgraded this application from weblogic portal 4.0, and never had this problem there. As part of the migration process, I ran the tool to migrate all of the database tables, and I re-synched the EBCC project using version 7 of EBCC. I did a search for this problem and found a few mentions of it that seemed to be related to Oracle's handling of CLOB data. Apparently, there is a patch, but I can't seem to find this patch. I'm also not sure if this is indeed the problem since I didn't have this issue with the older version of weblogic using the same database. Any suggestions?
If you have a support contract please open a case so we can work through
this problem.
Can you run an sqlplus session on your database, execute the commands
"delete from data_sync_item" and "commit", then resync to see if it will
get you around the problem. The data_sync_item table will be fully
populated after you sync. This should get you running.
Between 4.0 and 7.0 the DefaultRequestPropertySet.req file was reduced
in size -- the CLOB would be smaller in the data_sync_item table.
I would recommend using the Version Checker against your installation --
find it on the dev2dev.bea.com site to see if the upgrade installer work
ed properly. Also consider running the full installer to avoid possible
problems that might occur with upgrade installers.
As a result of that patch you referenced in 4.0 the CLOB handling logic
was changed in 7.0 -- this is why it is strange you are seeing cleaving
errors. In 7.0 SP2 to be release next week the data sync and
persistence code was changed also.
Are you using the OCI or Thin driver?
-- Jim
Rob Goldie wrote:
Jim Litton <replyto@newsgroup> wrote:
Rob,
The CLOB issue was related to wlportal4.0 and should not be a factor
in
7.0.
Could you post the entire stack trace?
####<Jan 27, 2003 4:21:47 PM EST> <Warning> <Data Synchronization> <PFIDEV5> <pfeAricept1Server>
<main> <kernel identity> <> <000000> <Application: gmiAriceptApp; Failed to retrieve
a schema URI (document namespace) for /request/DefaultRequestPropertySet.req;
please see the following exception for details.>
Exception[com.bea.p13n.management.data.doc.DocumentProcessingException: Unable
to analyze and/or cleave document]
at com.bea.p13n.management.data.doc.cleaver.CleavingDocumentProcessor.process(CleavingDocumentProcessor.java:94)
at com.bea.p13n.management.data.repository.internal.DataItemImpl.getSchemaUri(DataItemImpl.java:136)
at com.bea.p13n.management.data.repository.DataRepositoryFactory.createDataItem(DataRepositoryFactory.java:363)
at com.bea.p13n.management.data.repository.persistence.JdbcDataSource.createDataItems(JdbcDataSource.java:523)
at com.bea.p13n.management.data.repository.persistence.JdbcDataSource.refresh(JdbcDataSource.java:442)
at com.bea.p13n.management.data.repository.persistence.ReadOnlyJdbcPersistenceManager.refresh(ReadOnlyJdbcPersistenceManager.java:107)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.<init>(AbstractDataRepository.java:193)
at com.bea.p13n.management.data.repository.internal.MasterDataRepository.<init>(MasterDataRepository.java:46)
at com.bea.p13n.management.data.repository.DataRepositoryFactory.getMasterDataRepository(DataRepositoryFactory.java:255)
at com.bea.p13n.placeholder.internal.PlaceholderServiceImpl.ejbCreate(PlaceholderServiceImpl.java:191)
at com.bea.p13n.placeholder.internal.PlaceholderServiceImpl_9p0jz2_Impl.ejbCreate(PlaceholderServiceImpl_9p0jz2_Impl.java:117)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:151)
at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:188)
at weblogic.ejb20.manager.StatelessManager.initializePool(StatelessManager.java:380)
at weblogic.ejb20.deployer.EJBDeployer.initializePools(EJBDeployer.java:1472)
at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1367)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:864)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:81)
at weblogic.j2ee.Application.addComponent(Application.java:294)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:164)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:303)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:256)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:207)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:732)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:714)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:417)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:926)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198)
at $Proxy9.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:4060)
at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:2259)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:373)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:235)
at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:61)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
at weblogic.Server.main(Server.java:32)
Caused by: org.xml.sax.SAXException: No message available. Resource not found:
repository.cleaver.no.xsi.namespace.exception Resource bundle: com/bea/p13n/management/data/datasync
at com.bea.p13n.management.data.doc.cleaver.DocumentCleaver.mapNamespaces(DocumentCleaver.java:135)
at com.bea.p13n.management.data.doc.cleaver.DocumentCleaver.startElement(DocumentCleaver.java:235)
at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1384)
at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1299)
at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1821)
at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:964)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:396)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:1119)
at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:133)
at com.bea.p13n.management.data.doc.cleaver.CleavingDocumentProcessor.process(CleavingDocumentProcessor.java:80)
at com.bea.p13n.management.data.repository.internal.DataItemImpl.getSchemaUri(DataItemImpl.java:136)
at com.bea.p13n.management.data.repository.DataRepositoryFactory.createDataItem(DataRepositoryFactory.java:363)
at com.bea.p13n.management.data.repository.persistence.JdbcDataSource.createDataItems(JdbcDataSource.java:523)
at com.bea.p13n.management.data.repository.persistence.JdbcDataSource.refresh(JdbcDataSource.java:442)
at com.bea.p13n.management.data.repository.persistence.ReadOnlyJdbcPersistenceManager.refresh(ReadOnlyJdbcPersistenceManager.java:107)
at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.<init>(AbstractDataRepository.java:193)
at com.bea.p13n.management.data.repository.internal.MasterDataRepository.<init>(MasterDataRepository.java:46)
at com.bea.p13n.management.data.repository.DataRepositoryFactory.getMasterDataRepository(DataRepositoryFactory.java:255)
at com.bea.p13n.placeholder.internal.PlaceholderServiceImpl.ejbCreate(PlaceholderServiceImpl.java:191)
at com.bea.p13n.placeholder.internal.PlaceholderServiceImpl_9p0jz2_Impl.ejbCreate(PlaceholderServiceImpl_9p0jz2_Impl.java:117)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:151)
at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:188)
at weblogic.ejb20.manager.StatelessManager.initializePool(StatelessManager.java:380)
at weblogic.ejb20.deployer.EJBDeployer.initializePools(EJBDeployer.java:1472)
at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1367)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:864)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:81)
at weblogic.j2ee.Application.addComponent(Application.java:294)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:164)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:303)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:256)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:207)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:732)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:714)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:417)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:926)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198)
at $Proxy9.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:4060)
at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:2259)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:373)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:235)
at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:61)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
at weblogic.Server.main(Server.java:32)
Are you using a UTF-8 Oracle database?
Yes
If you create a new User Profile in the EBCC and compare it to your
migrated .usr file do you see differences in the DTD's?
I recreated a new version of the .usr in the EBCC, and still got the same error.
I also tried deleting everything from the data-sync-item table and re-synching.
What does the DocumentManager section of your application-config.xml
look like?
<DocumentManager
ContentCacheName="documentContentCache"
ContentCaching="true"
DocumentConnectionPoolName="default"
MaxCachedContentSize="32768"
MetadataCacheName="documentMetadataCache"
MetadataCaching="true"
Name="default"
PropertyCase="none"
UserIdInCacheKey="false"
/>
What does the document.jar Targets="" parameter look like in config.xml?
<EJBComponent Name="document" Targets="pfeCluster" URI="document.jar"/>
-- Jim
Rob Goldie wrote:
I get this exception (and long stack trace) when attempting to start
my weblogic server. I'm running Weblogic 7 with Portal 7 (sp 1). I'm
using Oracle 8.1.7. I upgraded this application from weblogic portal
4.0, and never had this problem there. As part of the migration process,
I ran the tool to migrate all of the database tables, and I re-synched
the EBCC project using version 7 of EBCC. I did a search for this problem
and found a few mentions of it that seemed to be related to Oracle's
handling
of CLOB data. Apparently, there is a patch, but I can't seem to find
this patch. I'm also not sure if this is indeed the problem since I
didn't have this issue with the older version of weblogic using the
same database. Any suggestions? -
Hi,
I`m getting error message like "None of the apps in your project can be activated in the target. The manifest file of one or more apps contain API sets or Office applications that are not supported by
the target Office client. To debug those apps, update manifest files to exclude any unsupported API sets or Office applications, and then start the project again. Alternatively, you can debug your apps by using Office 365 as a target." when when
updating the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1 in manifest file though i have added host elements.
any help in this regard is highly appreciated
Thanks,
Santosh SutarHi Satosh Sutar,
Based on the description, you got the error message when you update the apps from version 1.0 to 1.1.
From the error message, it seems the menifest include some settings no allowed in the new version. Would you mind sharing more detail about how you update the project?
And here is an article about updating apps for Office and menifest schema files in the project for your reference:
How to: Update the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1
Regards & Fei
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. -
Having the connection object for the specific schema
hi
My application interacting with the database of having many no of schema's. I need to create a connection object which is pointing to the specific schema in my database. This is help me to avoid writing schema name in the query every time.
Thanks
SivaHow to specify the schema name in properties file?
Say for example, i created properties file like that,
Properties props = new Properties();
props.setProperty("user", "username");
props.setProperty("password", "password');
In which property i can set for schema? -
What are the best practices for the RCU's schemas
Hi,
I was wondering if there is some best practices about the RCU's schemas created with BIEE.
I already have discoverer (and application server), so I have a metadata repository for the Application Server. I will upgrade Discoverer 10g to 11, so I will create new schema with RCU in my metada repository (MR) of the Application Server. I'm wondering if I can put the BIEE's RCU schemas in the same database.
Basically,
1. is there a standard for the PREFIX ?
2. If I have multiple components of Fusion in the same Database, I will have multiples PREFIX_MDS schema ? Can they have the same PREFIX ? Or They all need to have a different prefix ?
For exemple: DISCO_MDS and BIEE_MDS or I can have DEV_MDS and this schema is valid for both Discoverer and BIEE.
Thank you !What are the best practices for exception handling in n-tier applications?
The application is a fat client based on MVVM pattern with
.NET framework.
That would be to catch all exceptions at a single point in the n-tier solution, log it and create user friendly messages displayed to the user. -
Pls give the menu path for pricing schema for PO
Pls give the menu path for pricing schema for PO
Thanx
Vikas ChhabraHi,
we assign account assignment category in PO.Here is the path
IMG>Materials Management>Purchasing>Account Assignment>Maintain Account Assignment Categories OME9
Based on account assignment category you use in PO, it will ask you cost object in PO
E.g P (project) you need to enter G/L and WBS element
N Network G/L and Network
Like in SD account determination, OMWB is MM and FI integration.
Regards,
Chandra -
Aggregate of all Columns in each table for the entire schema
I want to calculate the report of Aggregate of all Columns in each table for the entire schema in Oracle. Pls let me know which approach is best to do this.
Thanks in advance !!Not sure about your requirement..
This?
select table_name,sum(data_length) sm
from user_tab_cols
group by table_name;
Maybe you are looking for
-
Webdynpro abap/Java? Best Option
Hi All, I'm still running with a doubt after having a glance at all the Weblog especially oliver and others in SDN community.Can any one drive me for the best option for a company despite of the consultants skill set,Architecture and other
-
TS1631 I can't hear my music but my phone rings loud
My phone rings loud and people can heard on the phone but I can't hear them. Also I can't hear My music.
-
thinking to get my daughter her first macbook for college. went to local apple store to check out the 13" and they said it wont run games like Quake4 or Sims2. Looked into what the games require for graphics, but I don't know one graphics card from a
-
21-inch / 21" iMac Random Shut down
Ok, I have a refub imac, mid 2011 model. I have random shutdowns, not often but they do happen. I have swapped out and replaced ram by three different OEM's chips. I am trying to get 12gb installed. I have been dealing with applecare support from the
-
Hi Experts, Is there any FM available for downloading from desktop to internal table <b>which takes filename in the runtime?</b> i don't want to give value for filename parameter...Just like 'DOWNLOAD' in lower versions Regards