Configure a new XML Registry...
Hi all,
I made the configuration followed document instruction(http://edocs.bea.com/wlp/docs40/deploygd/refdmain.htm#1120486),
when I processed 10 step, that is :
On the portal XML registry page, click the Targets tab. Then move your server
from the Available to the Chosen list.
I got a exception message, that is ”Distributed Management”, please
find the attachment details:
BTW, I happened to the same problem in the different computer.
In addition, I have to edit config.xml file by hand,I haven’t met
other problem currently, I only want to clarify why the above abnormity appeared?
Wish can get your help, thanks in advance.
[att1.html]
These queues are automatically created by OIM during installation. You can verify this by loggin into WLS admin console and going to
Home >Services > Messaging >JMS Modules >OIM_JMS_MODULE >Summary of Resources
Similar Messages
-
Weblogic 6.0sp2, problems useing new XML Registry
I'm trying to configure a parser other than the Built-In Parser, but WLS seems
to still us its default.
I follow the documentation at http://edocs.bea.com/wls/docs60/xml/xml_admin.html#1055027,
and use xerces 1.4.3, also creating a new server that is targeted.
I have attached a java file that I set as a startup class, targeted to myserver.
It shows the classname of saxparsers.
I allways get the following printout:
parserFactory: weblogic.xml.jaxp.RegistrySAXParserFactory
saxParser: weblogic.xml.jaxp.RegistrySAXParser
parser: weblogic.xml.jaxp.RegistryParser
But if I run the program from the command prompt, with xerces in the classpath
I get the following:
parserFactory: org.apache.xerces.jaxp.SAXParserFactoryImpl
saxParser: org.apache.xerces.jaxp.SAXParserImpl
parser: org.xml.sax.helpers.XMLReaderAdapter
Anyone now anything about this, seems like a bug?
-perotto
The parser
[PrintParserInfo.java]hi,
try keeping the xerces.jar file before the weblogic.jar in the classpath of the
server script...
cuz' weblogic.jar file includes weblogic xerces parser..
but weblogic does not support all the features that xerces 1.4.3 version support.and
they(BEA) does not recommend to use other versions...
hope it will help you..
Vijay
"Per Otto Christensen" <[email protected]> wrote:
>
>
>
I'm trying to configure a parser other than the Built-In Parser, but
WLS seems
to still us its default.
I follow the documentation at http://edocs.bea.com/wls/docs60/xml/xml_admin.html#1055027,
and use xerces 1.4.3, also creating a new server that is targeted.
I have attached a java file that I set as a startup class, targeted to
myserver.
It shows the classname of saxparsers.
I allways get the following printout:
parserFactory: weblogic.xml.jaxp.RegistrySAXParserFactory
saxParser: weblogic.xml.jaxp.RegistrySAXParser
parser: weblogic.xml.jaxp.RegistryParser
But if I run the program from the command prompt, with xerces in the
classpath
I get the following:
parserFactory: org.apache.xerces.jaxp.SAXParserFactoryImpl
saxParser: org.apache.xerces.jaxp.SAXParserImpl
parser: org.xml.sax.helpers.XMLReaderAdapter
Anyone now anything about this, seems like a bug?
-perotto
The parser -
I'm still trying to run Xalan from the server side...
I tried to set up an XML Registry to use the org.apache.xerces.jaxp
classes. Though it is selected by the server on the XML Services tab,
and it is the only registry I have, I print out the factory and parser
classes that get created, and they are still
weblogic.xml.jaxp.RegistryBlahblahblah classes. The config.xml has the
right class names as shown on the console. Why aren't they used?
The other question I have is that since the Xerces classes that I want
to use have the same names as the ones included but are a different
version, how do I get the server to use the new classes and not the ones
bundled with WebLogic?
Any help would be greatly appreciated!
MichelleTry to define XML Registry Entry for your specific DTD.
WL compares PublicId, SystemId and RootElement between XML and DTD to find
specific Parser class name for your XML. In this case you must create
xml/registry directory in your domain directory and put there your DTD file.
If it still not working - write this code:
public SAXParser getParser() {
// Return the parser we already created (if any)
if(parser!=null) {
return (parser);
// Create and return a new parser
try {
SAXParserFactory factory= new
org.apache.xerces.jaxp.SAXParserFactoryImpl();
factory.setNamespaceAware(false);
factory.setValidating(false);
parser=factory.newSAXParser();
return (parser);
} catch(Exception e) {
System.out.println("getParser: "+e.getMessage());
return (null);
"Michelle Baxter" <[email protected]> wrote in message
news:[email protected]...
Ok, thanks. I suspected it might be wrapping it, but I wasn't sure how
to tell. I have not figured out how to get the server to run as a
JBuilder run configuration to debug it. It's looking for ".\config",
even though I've given it weblogic.system.home. So I can't look at the
stack trace, at least not that way.
Whatever parser it's getting, it's still the wrong one because I still
get the AbstractMethodError. I don't see how it's possible to have the
wrong version with xmlx.jar out of the way. But I have to keep looking.
Thanks for all your help.
Sandeep Shrivastava wrote:
The parser is weblogic.xml.jaxp.RegistrySAXParser, but it wraps the
org.apache.xerces.parser.SAXParser. the actual parse will be done by the
xerces parser ( whatever is configured in the xml registry )
look at the stack trace in one of your sax callback methods to verify
this.
>>
sandeep
Michelle Baxter wrote in message <[email protected]>...
If that is true, then why when I print out the class name of a parser
that I created do I get weblogic.xml.jaxp.RegistrySAXParser instead of
org.apache.xerces.parsers.SAXParser, which is what is configured in the
config.xml file?
Sandeep Shrivastava wrote:
the weblogic.xml.jaxp package contains classes which implement JAXP
inside
weblogic server. The parser configured in the registry will be invoked
by
the server's jaxp implementation. You can verify this by examining thestack
trace inside one of your sax handler callback methods.
Michelle Baxter wrote in message <[email protected]>...
I'm trying to use Xalan 2J D05. The config.xml is attached.
Xalan is the first thing in my classpath when I run the server.
Xerces
is the second. I tried renaming xmlx.jar to something else, but it
doesn't make a difference.
Sandeep Shrivastava wrote:
Which version of Xalan are you trying to use?
Can you post the config.xml?
The weblogic 6.0 install contains Xerces 1.2 in
weblogic.apache.xerces.parsers package and Xalan 1.2 in the
weblogic.apache.xalan.xslt package ( These are the built-in sax and
dom
parser and xslt engine, bundled in weblogic.jar )
The install also includes Xerces 1.2 in theorg.apache.xerces.parsers
package and Xalan 1.2 in the org.apache.xalan.xslt package ( Theseare
>>>>>
the
XML module's parser and xslt engine, bundled in xmlx.jar )
If you want to use another version of xalan rename the xmlx.jar to
xmlx.jar.bak in the lib directory of the install. You may lose on
the
>>>>>
other
goodies that come with the XML module, i.e. the parser generator and
the
jsp
tag library though.
thanks
Sandeep
"Michelle Baxter" <[email protected]> wrote in message
news:[email protected]...
I'm still trying to run Xalan from the server side...
I tried to set up an XML Registry to use the org.apache.xerces.jaxp
classes. Though it is selected by the server on the XML Services
tab,
and it is the only registry I have, I print out the factory andparser
classes that get created, and they are still
weblogic.xml.jaxp.RegistryBlahblahblah classes. The config.xml hasthe
right class names as shown on the console. Why aren't they used?
The other question I have is that since the Xerces classes that Iwant
to use have the same names as the ones included but are a different
version, how do I get the server to use the new classes and not theones
bundled with WebLogic?
Any help would be greatly appreciated!
Michelle -
WL 6.1 and Configuring External Entity Resolution with XML Registry
I have an XML document that uses a DTD with an http:// URL (specifically, my configuration
file for Struts). It works fine if the machine on which WebLogic is running has
an internet connection, but doesn't work when that machine (for security reasons)
is not connected.
I found in the "Administering WebLogic server XML" document the "External Entity
Configuration Tasks" section which seemed that it would solve my problem by specifying
a local file when encountering an external entity. I followed the directions,
but it didn't seem to make a difference.
Am I interpreting the documentation correctly (and if so, would the XMLRegistry
section below do what I think it should do), or do I need to do something completely
different (i.e., modify the Struts code) to have it not look for the http-based
DTD?
Any help is appreciated.
;ted
The XMLRegistry section of the config.xml file:
<XMLRegistry Name="Struts">
<XMLEntitySpecRegistryEntry CacheTimeoutInterval="-1" EntityURI="file:c:/struts-config_1_1.dtd"
Name="XMLEntitySpecRegistryEntry-1003533562502" PublicId="-//Apache Software Foundation//DTD
Struts Configuration 1.1//EN" WhenToCache="cache-at-initialization" />
<XMLEntitySpecRegistryEntry EntityURI="file:c:/struts-config_1_1.dtd" Name="XMLEntitySpecRegistryEntry-1003525690002"
SystemId="http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd" />
</XMLRegistry>
A copy of the struts-config_1_1.dtd file is in the C:\ directory.Firstly, ensure that your XML Registry is targeted at a server. I know that's stating the obvious but you never know.
Secondly the xml/registries/??? directory belongs in the config/domain directory and not one level higher in the applications directory.
I'm been experincing problems resolving to an XML Schema. Resolution to a DTD works fine. Let me know how you get along -
How i configure the log4j.xml in weblogic server
hi
i write a new lg4j.xml and i put this in WEB-INF/classes,i deployed this jar in my remote server,but it not reflected. [i am not specify the server logs, we have some API's which is deployed in server for that API log files is configured using log4j.xml ]
i saw there is a option in weblogic - setDomain -LOG4J_CONFIG_FILE='here we give the path for log4j.xml'.I think it's only work for local machines not for the remote machines.
i don't know how to get a log files in weblogic serverTo use Quartz primarily within an application server environment,include the Quartz JAR within the enterprise application (.ear or .war file). However, if you want to make Quartz available to many applications then simply make sure it's on the classpath of your appserver.
You can also deploy it as a jar file or a library module as required.
Quartz depends on a number of third-party libraries (in the form of jars) which are included in the distribution .zip file in the 'lib' directory. To use all the features of Quartz, all of these jars must also exist on your classpath.
-Sandeep -
Using XML registry FactoryConfigurationError
Hi I have been trying to use the XML registry to parse an XML doc, using weblogic6.0.
I generated a custom parser from the dtd for the said xml doc.
I have attached the config window (reg1) for the registry, the SAX and Document
builder factories are the default.
I have also attached a portion of the code used to the JAXP to call the custom
generated parser class
When I try to run this I get the error specified below.
Running on a windows NT machine.
Any advice or pointers would be greatly appreciated.
Thanks,
Brian
<Apr 17, 2001 4:09:13 PM PDT> <Error> <HTTP> <[WebAppServletContext(5163124,subs
)] Servlet failed with Exception
javax.xml.parsers.FactoryConfigurationError: weblogicx.xml.objects.SubscriberPar
ser
at weblogic.xml.jaxp.RegistryParser.getCustomParser(RegistryParser.java:
247)
at weblogic.xml.jaxp.RegistryParser.getParser(RegistryParser.java:172)
at weblogic.xml.jaxp.RegistryParser.parse(RegistryParser.java:103)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:155)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:100)
at JAXPSubscriberParser.<init>(JAXPSubscriberParser.java:40)
at jsp_servlet._jaxpsubscriberparser._jspService(_jaxpsubscriberparser.j
ava:94)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:213)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:1265)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:1622)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
[subs.doc]Hi Rothrock, thanks for your reply...
Flash Version: 8, but the swf was published to be 7+
compatible.
The font is Meta Normal, it is embedded, and it does include
the character.
I am retrieving the xml by using this script in the html
page:
<script type="text/javascript">
// <![CDATA[
var fo = new FlashObject("/templates/flash/index.swf" +
cKiller, "ad-flash", "710", "351", "7", "#FFFFFF");
fo.addVariable("xmlURL", "/flash_content/products.xml");
fo.write("ad");
// ]]>
</script>
I am creating the XML using Macromedia Homesite, with the
encoding declaration <?xml version="1.0" encoding="UTF-8" ?>
The XML is being read fine, only the special characters don't
show up... so it will cut off the word, or just have an empty space
where the character should be.
I am not sure how to specifiy Extended Latin charset in the
document... could you tell me how to do that?
Thanks -
Configure to new Server and Deploy a WebApplication
I need some informations about the applications deploy. I have developed two applications that accept as request SIP message "MESSAGE"; both the applications have in their sip.xml file, a mapping of this type:
<servlet-mapping>
<servlet-name>serviceCallSipServlet</servlet-name>
<pattern>
<and>
<equal>
<var>request.method</var>
<value>MESSAGE</value>
</equal>
</and>
</pattern>
</servlet-mapping>
That involves that at the reception of this MESSAGE, we have a problem in specifying what application we refere to so there is a server error.
As a possible solution I have tried to create a new server through the console (Server -> Configure a new Server...)and I called it "myserver2".
Then I have created a new sipChannel associated to this new server(myserver2-> Protocols-> channel)using 5040 port instead of 5060 port.
I have finally deployed one of the two applications in this server after eliminating it from the other server(I have tried to change only the target).
The application is deployed on the new server (myserver2)but does not come deployed .
The server has been start:
/startWeblogic.sh for the standard.
/startManagendWebLogic.sh myserver2 http://localhost:7001 for the new server.
Is ok this way in order to have on the same able dominion two server to receive sip request from two various port?
If Yes how I can resolve the issue?
I can or I must use other way in order to resolve this problem?
Thanks...iTunes is looking for a feed at http://www.gothamknightsonline.com/feed/?cat=10 and not finding it - checking this I don't get 'file not found' but if there is a file there it contains no data whatever.
I assume this is your original feed URL. The method for redirecting iTunes to another feed URL involves placing a special tag in the original feed, and is described in detail here:
http://www.wilmut.webspace.virginmedia.com/notes/podcast.html#move
Your new feed contains this tag (effectively redirecting to itself); you need to place a copy of the feed, with the redirect tag, at the original URL and leave it there for a couple of weeks. If you are unable to do this the two alternatives are described in my article. -
Adding properties to XML Registry
I'm using WLS 6.0. I was wondering if it is possible
to add more properties into the XML Registry on the console.
The two properties currently there are: DocumentBuilderFactory
and SaxParserFactory.
I'd like to add the two system properties: javax.xml.transform.TransformerFactory
and org.xml.sax.driver.
I know I can set these from the command line using the
-D option but I'd much rather have the configuration
in the console.
Can I do this? If so, how?
Thanks!Follow-up: Even though it lists 4 missing required properties in the error, when I went back and added only the Value property, the red flags went away....
Werry Interestink! -
Weblogic XML Registry and Entity Resolution
Hi,
I have configure Weblogic XML Registry as described in
http://e-docs.bea.com/wls/docs81/ConsoleHelp/xml.html. I have a directory
where my dtds reside (%WLDOMAIN%/xml/registries/MyRegistry/). I using JAXP
(the BEA recommended API which should automatically make use of the registry
for entity resolution). But somehow it seems that it is looking in the root
of the weblogic domain for the entities and not in the registry entities
directory.
A sample doctype in one of my doc looks like <!DOCTYPE substance_id PUBLIC
"-//CAS//DTD substance_id//EN" "substance_id.dtd">
The registry is configured as follows
Public ID System ID
Entity URI When To Cache Cache Timeout Interval
============================================================================
===============
-//CAS//ENTITY CMD Defined Entities//EN CMSents.dtd CMSents.dtd
defer-to-registry-setting -1
-//CAS//DTD control//EN control.dtd
control.dtd defer-to-registry-setting -1
-//CAS//DTD substance_id//EN substance_id.dtd
substance_id.dtd defer-to-registry-setting -1
Below is the exception from the server log. Any help would be greatly
appreaciated.
####<Dec 12, 2003 11:09:32 AM EST> <Debug> <org.cas.felix.util.XML>
<PC81227> <myserver> <ExecuteThread: '13' for queue:
'weblogic.kernel.Default'> <<anonymous>> <BEA1-0009897C74118C32D0F4>
<000000> <exception parsing document <?xml version="1.0"?>
<!DOCTYPE substance_id PUBLIC "-//CAS//DTD substance_id//EN"
"substance_id.dt ... (4869)
java.io.FileNotFoundException: D:\wls_domains\felix\substance_id.dtd (The
system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:103)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:6
9)
at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection
.java:156)
at java.net.URL.openStream(URL.java:960)
at
weblogic.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.ja
va:836)
at
weblogic.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager
.java:796)
at
weblogic.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerIm
pl.java:275)
at
weblogic.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XM
LDocumentScannerImpl.java:841)
at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLD
ocumentFragmentScannerImpl.java:329)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
525)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
581)
at weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at
weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.jav
a:1175)
at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:138)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:143)
at org.cas.felix.util.XML.validate(XML.java:88)
at org.cas.felix.util.XML.validate(XML.java:69)
at org.cas.felix.si.master.MasterDocument.<init>(MasterDocument.java:94)
at org.cas.felix.si.master.MasterDocument.<init>(MasterDocument.java:139)
at
org.cas.felix.si.j2ee.processing.FelixSIProcessorBean.processRecord(Unknown
Source)
at org.cas.felix.si.j2ee.processing.FelixSIProcessorBean.onMessage(Unknown
Source)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:374)
at
weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:30
8)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:273)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2550)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2470)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)Hi Brian,
In your config.xml, in the <XMLRegistry> section, what does the
EntityURI look like? I believe it should be a relative entry, something
like %WLDOMAIN%/xml/registries/MyRegistry
If this is not the issue, I would encourage you to provide this
information with your config.xml to our outstanding support team to
resolve this issue.
Thanks,
Bruce
Brian Sam-Bodden wrote:
>
Hi,
I have configure Weblogic XML Registry as described in
http://e-docs.bea.com/wls/docs81/ConsoleHelp/xml.html. I have a directory
where my dtds reside (%WLDOMAIN%/xml/registries/MyRegistry/). I using JAXP
(the BEA recommended API which should automatically make use of the registry
for entity resolution). But somehow it seems that it is looking in the root
of the weblogic domain for the entities and not in the registry entities
directory.
A sample doctype in one of my doc looks like <!DOCTYPE substance_id PUBLIC
"-//CAS//DTD substance_id//EN" "substance_id.dtd">
The registry is configured as follows
Public ID System ID
Entity URI When To Cache Cache Timeout Interval
============================================================================
===============
-//CAS//ENTITY CMD Defined Entities//EN CMSents.dtd CMSents.dtd
defer-to-registry-setting -1
-//CAS//DTD control//EN control.dtd
control.dtd defer-to-registry-setting -1
-//CAS//DTD substance_id//EN substance_id.dtd
substance_id.dtd defer-to-registry-setting -1
Below is the exception from the server log. Any help would be greatly
appreaciated.
####<Dec 12, 2003 11:09:32 AM EST> <Debug> <org.cas.felix.util.XML>
<PC81227> <myserver> <ExecuteThread: '13' for queue:
'weblogic.kernel.Default'> <<anonymous>> <BEA1-0009897C74118C32D0F4>
<000000> <exception parsing document <?xml version="1.0"?>
<!DOCTYPE substance_id PUBLIC "-//CAS//DTD substance_id//EN"
"substance_id.dt ... (4869)
java.io.FileNotFoundException: D:\wls_domains\felix\substance_id.dtd (The
system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:103)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:6
9)
at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection
.java:156)
at java.net.URL.openStream(URL.java:960)
at
weblogic.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.ja
va:836)
at
weblogic.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager
.java:796)
at
weblogic.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerIm
pl.java:275)
at
weblogic.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XM
LDocumentScannerImpl.java:841)
at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLD
ocumentFragmentScannerImpl.java:329)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
525)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:
581)
at weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at
weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.jav
a:1175)
at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:138)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:143)
at org.cas.felix.util.XML.validate(XML.java:88)
at org.cas.felix.util.XML.validate(XML.java:69)
at org.cas.felix.si.master.MasterDocument.<init>(MasterDocument.java:94)
at org.cas.felix.si.master.MasterDocument.<init>(MasterDocument.java:139)
at
org.cas.felix.si.j2ee.processing.FelixSIProcessorBean.processRecord(Unknown
Source)
at org.cas.felix.si.j2ee.processing.FelixSIProcessorBean.onMessage(Unknown
Source)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:374)
at
weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:30
8)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:273)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2550)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2470)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151) -
Unexpected error when configure a new web application
hello,
I'm trying to create a new web application ( under Deployments in console). I
just manually create an sub-dir under ".\config\<active-domain>\applications"
directory, say WebAppDir. Then I went to the console and right-click on the "Web
Applications" and select "Configure a new Web Application", then I filled out
the Name, URI, and Path as follows:
Name: WebAppDir URI: WebAppDir Path: .\config\<active-domain>\applications
then click "Create" , I then got the following error message, I don't know why
and what i did wrong... please let me know what did i do wrong ? I don't have
any things under the new dir i created, but I thought i would be fine, but it
didn't.
Here is the error message:
An unexpected error was encountered in processing your request.
Exception java.lang.NullPointerException at weblogic.management.console.pages._panels._mbean._webappcomponent._jspService(_webappcomponent.java:212)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1127)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1529)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Current Date Wed Jun 06 17:01:25 CDT 2001
thanks so much...i really appreciate your helps.
-KieuHi Kieu,
Perhaps you can try moving the webapp dir outside config/mydomain/applications.
The webapp should be configurable from anywhere besides the applications directory.
Any archives placed in the applications directory will be deployed automatically.
I'm not sure why you are seeing the webapp as an app below your Applications node
in the console though. Which version of wls are you using?
Vi
"Kieu Tram" <[email protected]> wrote:
>
I guess the problem happened because we can't deploy the exploded directory
format
using the console.
but when i follow the instruction in
http://e-docs.bea.com/wls/docs60/adminguide/config_web_app.html#122155
, to create
the web applications, i turned out the sub-dir "myWebApp" that i created
under
".\config\mydomain\applications" will appear in "Applications" node instead
of
under "Web Applications" node, even though i put all the "web.xml", "weblogic.xml"
under the dir "myWebApp\WEB-INF" already.
I would really appreciate your help...
thanks,
Kieu
"Kieu Tram" <[email protected]> wrote:
hello,
I'm trying to create a new web application ( under Deployments in console).
I
just manually create an sub-dir under ".\config\<active-domain>\applications"
directory, say WebAppDir. Then I went to the console and right-click
on the "Web
Applications" and select "Configure a new Web Application", then I filled
out
the Name, URI, and Path as follows:
Name: WebAppDir URI: WebAppDir Path: .\config\<active-domain>\applications
then click "Create" , I then got the following error message, I don't
know why
and what i did wrong... please let me know what did i do wrong ? I don't
have
any things under the new dir i created, but I thought i would be fine,
but it
didn't.
Here is the error message:
An unexpected error was encountered in processing your request.
Exception java.lang.NullPointerException at weblogic.management.console.pages._panels._mbean._webappcomponent._jspService(_webappcomponent.java:212)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1127)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1529)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137) atweblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Current Date Wed Jun 06 17:01:25 CDT 2001
thanks so much...i really appreciate your helps.
-Kieu -
Creating new XML Db Web Service
Hello All,
I have to create a new XML DB webservice. I did follow the below oracle documentation and could create the service. But when I tired to run the XQUERY, to get the information about the service I just added,
1) I could see only part of the output.
2) I need to add this output to "xdbconfig.xml". But I dont see this file on my database server.
I am sure that the XDB is configured on this database. I do see following lines in alertlog, when we bounced the database recently, which confirms the XDB is configured.
Tue Nov 29 17:53:17 2011
XDB installed.
XDB initialized.
Tue Nov 29 17:53:43 2011
Not sure what happened to the xdbconfig.xml. Please see below command I used to create Web Service and XQUERY.
DECLARE
SERVLET_NAME VARCHAR2(32) := 'WDD_XML';
BEGIN
DBMS_XDB.deleteServletMapping(SERVLET_NAME);
DBMS_XDB.deleteServlet(SERVLET_NAME);
DBMS_XDB.addServlet(NAME => SERVLET_NAME,
LANGUAGE => 'C',
DISPNAME => 'Oracle Query Web Service',
DESCRIPT => 'Servlet for issuing queries as a Web Service',
SCHEMA => 'XDB');
DBMS_XDB.addServletSecRole(SERVNAME => SERVLET_NAME,
ROLENAME => 'XDB_WEBSERVICES',
ROLELINK => 'XDB_WEBSERVICES');
DBMS_XDB.addServletMapping(PATTERN => '/WDD_XML/*',
NAME => SERVLET_NAME);
END;
XQUERY declare default element namespace "http://xmlns.oracle.com/xdb/xdbconfig.xsd";
for $doc in fn:doc("/xdbconfig.xml")/xdbconfig/sysconfig/protocolconfig/httpconfig/
webappconfig/servletconfig/servlet-list/servlet[servlet-name='WDD_XML']
return $doc
http://docs.oracle.com/cd/B28359_01/appdev.111/b28369/xdb_web_services.htm
Thanks,
KRMR.Hi,
2) I need to add this output to "xdbconfig.xml". But I dont see this file on my database server.It's located at the root of the XML DB repository, in the database.
You don't edit it directly.
The truncated output is an SQL*Plus issue, most likely.
I guess you have something like this :
SQL> XQUERY declare default element namespace "http://xmlns.oracle.com/xdb/xdbconfig.xsd"; (: :)
2 for $doc in fn:doc("/xdbconfig.xml")/xdbconfig/sysconfig/protocolconfig/httpconfig/
3 webappconfig/servletconfig/servlet-list/servlet[servlet-name='orawsv']
4 return $doc
5 /
Result Sequence
<servlet xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">
<servlet-name>orawYou need to set the LONG parameter to a sufficient amount first :
SQL> set long 500
SQL> set pagesize 100
SQL> XQUERY declare default element namespace "http://xmlns.oracle.com/xdb/xdbconfig.xsd"; (: :)
2 for $doc in fn:doc("/xdbconfig.xml")/xdbconfig/sysconfig/protocolconfig/httpconfig/
3 webappconfig/servletconfig/servlet-list/servlet[servlet-name='orawsv']
4 return $doc
5 /
Result Sequence
<servlet xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">
<servlet-name>orawsv</servlet-name>
<servlet-language>C</servlet-language>
<display-name>Oracle Query Web Service</display-name>
<description>Servlet for issuing queries as a Web Service</description>
<servlet-schema>XDB</servlet-schema>
<security-role-ref>
<description/>
<role-name>XDB_WEBSERVICES</role-name>
<role-link>XDB_WEBSERVICES</role-link>
</security-role-ref>
</servlet> -
Hi! ... When configuring my new iPad, it says the UserId is already in use and I cannot progress any more. Of course it's in use, it's my UserId. How do I continue ?? ... Thanks in advance
Did you select "Sign In with an Apple ID" as opposed to "Create a free Apple ID" when setting it up?
-
How can I configure my new Mac Pro to output the timeline via HDMI
How can I configure my new Mac Pro to output the timeline in FCP 7 (yes, I have X, but I'm using 7 right now). I have two monitors running from TB2, but want to have the third for a client monitor.
If I use all three via TB2, it's literally three monitors, and I want to edit on my CineDisplay. I only want the client to see the timeline video on the third monitor. When I hook up HDMI I get no signal, in fact, I can't have the HDMI cable hooked up for TB2 to work with the third.
Thanks,
GEvans
DarthPro
3.7 QCIntelXeonE5
12 GB
AMD FirePro dual D300 2048MB
OSX 10.9.2If you use all ThunderBolt displays, or stick with DisplayPort and Mini DisplayPort (free conversion between the two with only a cheap cable) you can have up to six displays.
If you attach "legacy" displays with "any-old adapter", you can have up to two, and the built-in HDMI counts as one if you use it.
Any more requires ACTIVE Adapters.
The US$100 Apple ACTIVE Mini DisplayPort to Dual-Link DVI adapter works in every case, even displays over 1920 wide.
StarTech and Accell make US$35 ACTIVE adpters that work for displays up to 1920 wide. -
Please help me configure a new 8core for FCP
PLEASE HELP A PC GUY MOVE OVER...
I need to configure a new 8-core for FCP mainly. I need to keep the expense reasonable so dont want to spend extra $$$ if i dont have to.
I edit files from many different camera's these days. Mostly weddings & demos.
I want to go with an 8 core either Two 2.26GHz, OR 2.66GHz? Is the 2.2 fast enough with FCP?
How much ram do i need?
Do I need to stripe 2 sata drives together for the video?
Which video card?
Can you recommend any other software/hardware that will help me?
Here is a link to apples spec page:
http://www.apple.com/macpro/specs.html
THANKSsarecco wrote:
PLEASE HELP A PC GUY MOVE OVER...
Welcome to the family. if you are not familiar with the Macintosh operating system, get yourself a book.
sarecco wrote:
I want to go with an 8 core either Two 2.26GHz, OR 2.66GHz? Is the 2.2 fast enough with FCP?
Either will work fine.
sarecco wrote:
How much ram do i need?
As much as you want but 8G will be adequate. More might not help significantly.
sarecco wrote:
Do I need to stripe 2 sata drives together for the video?
Depends on the video you're trying to use or if you want to do 9 camera multiclips. Maybe.
sarecco wrote:
Which video card?
The stock 4870 is the gold standard for Motion; the current rev of FCP does not care much about the GPU but we are hoping future revs will use the card directly.
sarecco wrote:
Can you recommend any other software/hardware that will help me?
Umm, withotu knowing what you need to do, of course not.
sarecco wrote:
THANKS
No sweat, ignore those other guys. We see this post about once a week around here so you can easily research it on the forum. Strongly urge you to locate your local Macintosh user group.
bogiesan -
hey-
I am replacing my 3 year-old MBP which never made it to the Leopard stage, because I was chicken. This one is going to be cleaned up and given to a family next door from a real poor area of Mexico and until they saw this had never seen a notebook. So I am excited about this.
anyway, I am configuring a new MBP together and I have a few questions that are probably pretty basic, but still questions. I should have thought of this before, but is getting a new MBP with Snow Leopard installed on the machine (and I was old by the support guy who helped me with the configuration since it will be used for a graduate school of architecture, planing, and preservation program too.
any feeling on jumping from 10.4.11 (which I guess is Tiger OS X) to Snow Leopard and totally bypassing Leopard? It sounds like Snow Leopard is pretty much a major "update" to Leopard, but that is probably wrong. (Just a side questions, what does the Operating System OS X mean and do all of the operating system have OS X or did it start at OS 1 and will keep going up?)
Is there a time when a person who wants to try and focus on school or other important things can pretty much be sure that a new OS has had sufficient time for the major bugs to be worked out and most likely can feel safer about making the purchase than if they had not waited and did not really care-thinking that Apple would get them fixed and the updates would fix the problems? I do not tend to think this way, but in this situation I am going out a bit from my usual "way" and living or should I saying hoping that this has happened and is true? Does that make sense? So, any feeling if SL has been out long enough now that Apple has had a chance to make sure it is doing well and has pretty much been integrated into the hardware and properly functioning of the notebook as a "single unit?"
thanks in advance for any feedback and I apologize if the wording was incorrect or I did not explain myself clear enough.You should not find it hard to jump from using Tiger (Mac OS 10.4) directly to using Snow Leopard (Mac OS 10.6). Some things are a little different, including a few changes to system preferences & how the Finder handles changing views from one folder to the next, but it is fundamentally the same from a user interface standpoint. In fact, there are very few interface differences you would notice between using Leopard (Mac OS 10.5) & Snow Leopard.
What you will most likely notice the most when going from a 3 year old MBP to a new one is that its response is substantially quicker: startup is quicker, apps open faster, Finder tasks complete in less time, etc. This is due both to the more powerful CPU & other components in the new machine & to the new OS, which is more efficient than previous ones.
"Mac OS" is the generic name for Apple's proprietary operating system that runs Macintosh computers. There were versions 1 through 9 of this operating system, starting with the one developed by Apple for the first Mac that appeared in 1984, but the first version to get the "Mac OS" designator was Mac OS 8, released in 1997. It was followed by Mac OS 9, released in 1999. All of these versions can be considered decedents of the first one, with strong family resemblances both in their internal structures & graphic user interfaces. Mac OS X is much different internally, incorporating many components of the venerable UNIX operating system first developed in 1969 at AT&T's Bell lab, plus a graphic user interface update (named "Aqua") more suited to its greatly improved capabilities. It is not a "pure" UNIX variant but instead a synthesis of UNIX & Apple's old & current technologies.
Each major revision of Mac OS X has had a cat name & a "point number" like Cheetah for 10.0 or Tiger for 10.4. Each revision has brought new features to the OS as well as under-the-hood improvements. Unfortunately, these improvements come at a cost in terms of legacy support. Some applications require revisions to work with each new major version, as do some of the drivers for external hardware. Generally speaking, fairly current apps & hardware drivers have gotten or will get revised for Snow Leopard if needed, but there are no guarantees that all ever will.
There are also bugs in every major OS release from every OS maker. Generally, these are obscure, affect few users significantly, & are eliminated in updates released after the first major version, but even the updates can introduce new bugs. Snow Leopard appears to be more bug free than any prior Mac OS major release, but the possibility exists that some bug will affect you in some critical way.
That said, the chances of this are low, & you should not read too much into reports here of problems unless they are widespread & describe very closely the same problem. Keep in mind that there are already several million copies of Snow Leopard in use; any really widespread problems would result in tens of thousands of complaints & probably make the evening news as well.
Maybe you are looking for
-
[SOLVED] Gnome 3.2, gdm only show the default wallpaper
Hi all, I just upgrade to gnome 3.2 on 2 machines, for the first one I got a glib2 from AUR so it do not work first (it's now solve) but for the second one I still can't login into gnome. Gdm only show the default wallpaper and a cursor. Here is the
-
How to get the class from selected row in af:table
I know that you can get individual selcted row values from an af:table using getRow().getAttribute("attName"). But, can I obtain the class that the table iterator used to populate the table? For instance, a table lists the result of an employee searc
-
IPod Photo Recognized by iTunes as Wife's nano!
I've had an iPod Photo for some time. I primarily hook it up to a single computer. Last week I bought my wife a nano. It synched up fine and I loaded up her iPod with tunes. I've since had no problem hooking up my iPod Photo. Yesterday, I updated the
-
Finder Photo Icons Messed up or Missing
Ever since I upgraded to Mavericks, the icons in Finder for my pictures have been getting distorted. Also, when I adjust a photo in Photoshop and then save it, half the time the icon is blank in Finder after I save it. Is anyone else having this pr
-
Hi Experts, We have migrated one of our portal systems from 7.0 to 7.4. There is one application which uses Adobe Interactive Forms. The same DC when we tested on Development environment works fine as expected. The same thing when deployed to QA syst