Problem in publishing the messgae

Hi,
I am publishing the object in the AQ using JMS APIs.But it is
throwing a JMS exception stating JMS-108: Messages of type
ObjectMessage not allowed with Destinations containing payload
of type SYSTEM.NEW_MESSAGE_TYPE.
Can anybody suggest me where I am going wrong.
I have created the payload/Queuetable as show below:
CREATE TYPE new_message_type AS OBJECT
(timestamp DATE,
doc VARCHAR2(2000));
begin
DBMS_AQADM.CREATE_QUEUE_TABLE(
queue_table =>'new_docs_table',
multiple_consumers =>TRUE,
queue_payload_type =>'new_message_type',
compatible =>'8.1');
end;
And in the java code to publish is:
AQjmsObjectMessage obj_message
=AQjmsObjectMessage).createObjectMessage());
DocMessage m_ncDoc = new DocMessage();
String tempDoc = "hello all";     
m_ncDoc.setDocument(tempDoc);
m_ncDoc.setTimeStamp(new Date());
obj_message.setObject(m_ncDoc);
myPub.publish(tp,obj_message);     
mySession.commit();

Hi,
The problem is that the queue type and the payload type do not
match.
You can do one of the following:
1. If you wish to use a queue with
user-defined ADT like SYSTEM.NEW_MESSAGE_TYPE, then you need to
generate a java class that maps to this type using Jpublisher.
I'm not sure if DocMessage was generated using Jpublisher. If
not then you'll have to generate CustomDatum interfaces for
NEW_MESSAGE_TYPE using Jpublisher. Check JDBC documentation on
using Jpublisher
Then you must use createAdtMessage instead of
createObjectMessage. The rest of the code is fine.
2. The other option is that you store a Serialized java object in
the queue. For this you'll have to create the queue table with
SYS.AQ$_JMS_OBJECT_MESSAGE. Then you can have your own Java
class which implements Serializable. In this case you can use the
code as is with createObjectMessage
You can check aqjmsdemo04.java and aqjmsdemo06.java in
$ORACLE_HOME/rdbms/demo for examples of both AdtMessage and
ObjectMessage
Hi,
I am publishing the object in the AQ using JMS APIs.But it is
throwing a JMS exception stating JMS-108: Messages of type
ObjectMessage not allowed with Destinations containing payload
of type SYSTEM.NEW_MESSAGE_TYPE.
Can anybody suggest me where I am going wrong.
I have created the payload/Queuetable as show below:
CREATE TYPE new_message_type AS OBJECT
(timestamp DATE,
doc VARCHAR2(2000));
begin
DBMS_AQADM.CREATE_QUEUE_TABLE(
queue_table =>'new_docs_table',
multiple_consumers =>TRUE,
queue_payload_type =>'new_message_type',
compatible =>'8.1');
end;
And in the java code to publish is:
AQjmsObjectMessage obj_message
=AQjmsObjectMessage).createObjectMessage());
DocMessage m_ncDoc = new DocMessage();
String tempDoc = "hello all";     
m_ncDoc.setDocument(tempDoc);
m_ncDoc.setTimeStamp(new Date());
obj_message.setObject(m_ncDoc);
myPub.publish(tp,obj_message);     
mySession.commit();

Similar Messages

  • Problem in publishing the audio to .f4u in Captivate 5

    Hi,
    I am using the trial version of Captivate 5. I have a .cp file which contains audio as well and it was created in Captivate 3. I opened this file in Captivate 5 and try to publish to .f4v and got the problem is audio. The female voice sounds like a male voice and in slow motion.
    Is this because I am using trial version of Captivate 5?

    Hi,
    1. Please open the original project in Captivate 3. i.e. the .cp file in Captivate 3
    2. Go to menu "Audio > Audio Settings"
    3. Change the bitrate to 96kbps or 64kbps
    4. Change the Encoding ferwquency to 44Khz
    5. Save and close the project
    6. Now open the same project in Captivate 5
    7. publish the project
    Audio should play correctly now..
    Hope this helps.
    Regards,
    mukul

  • Problem in Publishing the certificate to directory server

    I am having problem regarding the publishing the certificate.I am using iPlanet CMS 4.7 and iPlanet directory server 5.1
    In the CMS >certificate manager > publishing module > mapper
    It provides(manuals) two options to enable the publishing to directory server, i.e
    1)create entry automatically(default plug -in)
    2)Manual entry in directory and mapper to map it.
    I tried both way.When automatically create option is selected it fires an error:
    Failed to create the CA entry.There may be entries in the directory hierachy which do not exist.Please create them manually.
    I am not able to figure out the problem,even if I create certificate hierachy in the directory server it gives the same error.Can anyone figure out the problem so i can publish certificate.Pleae mail me the solution if anybody knows.Thank you

    Hi,
    1. Please open the original project in Captivate 3. i.e. the .cp file in Captivate 3
    2. Go to menu "Audio > Audio Settings"
    3. Change the bitrate to 96kbps or 64kbps
    4. Change the Encoding ferwquency to 44Khz
    5. Save and close the project
    6. Now open the same project in Captivate 5
    7. publish the project
    Audio should play correctly now..
    Hope this helps.
    Regards,
    mukul

  • Problem while publishing the models - it is taking much time

    Hi,
    I am facing one issue while publishing the models.Previously when Re-publishing the models in Configurator processing pending publications usually took 3 to 5 minutes per model. Currently it is taking 15-20 minutes per model to process. Please suggest me the possiblities to identify the root cause of the issue.
    Thanks in advance.
    Regards,
    Purushoth

    You'll probably want to gather a trace for the Process a Single Publication concurrent request. You can turn this on by selecting ' enable trace' on the program definition. You'll need your dba to review the trace to identify which parts of the program are taking the longest.
    If you haven't run CZ Purge for awhile, try running it. Also find out how often stats are gathered for the CZ schema.
    Thanks,
    Jason

  • Problem while publishing the service

    Hi,
    I have installed the SAP netweaver Trail sP1 Preview JAVA EE server.
    I have also installed the Preview _Dev Studio.
    The Application server is up and running fine
    http://<hostname>:50100/
    I followed the
    "Web Services Testing and SAP NetWeaver Application Server, Java EE 5 Edition"
    arcticle written by Mamoon Yunus.
    I could create the web service as mentioned in the document.
    But when i try to publich it it fails it gives aerror message "Publishing failed".
    One thing which i noticed is the Webservice is try to published on http://<hostname>:50000/ and thats the reason i think the publishing fails.
    How can i chage the port number form 50000 to 50100.
    What ahsould be steps followed form developer studio
    Best Regards
    Manoj

    Hi Vladimir,
    Thanks for the help.
    I could test the webservcie with the SOAPSonar tool and it worked fine.
    Only one thing i would like to address
    is that the p;ublishing of the webservice on the SAP server was very slow.
    For almost 3 hours the dialog was showing  "publishing.......".
    Then finally i cancelled it and i got a message that service was deployed sucessfully.
    I had the windows 2003 server m/c with 1GB RAM on whihc both the SAP server and netweaver studio was running.
    Can this be the problem of slow publishing
    Best Regards
    Manoj

  • Problem while publishing the report in web

    Hi all
    I need to create a report using 10g report builder and publish it in web.
    I downloaded evaluation version of 10g report builder and oracle SOA suite 10.1.3.1.0 and installed in my local system.(Is the any configuration required after installation?)
    report builder details are as below:
    Report Builder 10.1.2.0.2
    ORACLE Server Release 10.1.0.4.2
    Oracle Procedure Builder 10.1.2.0.2
    Oracle ORACLE PL/SQL V10.1.0.4.2 - Production
    Oracle CORE     10.1.0.4.0     Production
    Oracle Tools Integration Services 10.1.2.0.2
    Oracle Tools Common Area 10.1.2.0.2
    Oracle Toolkit 2 for Windows 32-bit platforms 10.1.2.0.2
    Resource Object Store 10.1.2.0.2
    Oracle Help 10.1.2.0.2
    Oracle Sqlmgr 10.1.2.0.2
    Oracle Query Builder 10.1.2.0.2 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle ZRC 10.1.2.0.2
    Oracle XML Developers Kit 10.1.0.4.2 - Production
    Oracle Virtual Graphics System 10.1.2.0.2
    Oracle Image 10.1.2.0.2
    Oracle Multimedia Widget 10.1.2.0.2
    Oracle Tools GUI Utilities 10.1.2.0.2
    Now I am able create a report but dont know where to deploy the report so that i can publish it in web.
    I read some white papers in net but could not follow the steps.
    Plz guide.
    Regards,
    Satya

    Hi Satya,
    for testing purposes you can start the OC4J comming with the Developer Suite and call your report in the browser like:
    http://<your-machine>:8889/reports/rwservlet?report=<your_module>&destype=cache.....
    You can include in <your_module> the path to your module.
    Regards
    Rainer

  • Help me, I am using flash pro cc and air 4.0,i have one problem when publishing apk through air publish settings,choosing the run time option from third party is disabled.can any one help me bcoz i have to publish without air runtime.......

    Help me, I am using flash pro cc and air 4.0,i have one problem when publishing apk through air publish settings,choosing the run time option from third party is disabled.
    can any one help me bcoz i have to publish without air runtime.......

    Hi,
    This option is available when your publish target is set to AIR 3.6.
    You can download the desired AIR SDK version from Archived Adobe AIR SDK versions
    Thanks!
    Mohan

  • Problem in publishing on Weblogic 10.3

    I have a problem in publishing my process project on Weblogic server, please help
    the exception is:
    java.lang.Exception: Exception received from deployment driver. See Error Log view for more detail.
         at com.bea.workshop.wls.core.server.internal.WlsJ2EEDeploymentHelper$DeploymentProgressListener.watch(WlsJ2EEDeploymentHelper.java:1557)
         at com.bea.workshop.wls.core.server.internal.WlsJ2EEDeploymentHelper.deploy(WlsJ2EEDeploymentHelper.java:469)
         at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.publishWeblogicModules(WeblogicServerBehaviour.java:1329)
         at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:787)
         at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:607)
         at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:503)
         at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:887)
         at org.eclipse.wst.server.core.internal.Server.publish(Server.java:874)
         at org.eclipse.wst.server.core.internal.ServerWorkingCopy.publish(ServerWorkingCopy.java:635)
         at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:72)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Caused by: weblogic.application.ModuleException: Could not setup environment
         at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1358)
         at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:428)
         at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:182)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:48)
         at weblogic.application.internal.flow.ScopedModuleDriver.activate(ScopedModuleDriver.java:194)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:411)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:74)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:66)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:16)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:140)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:106)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:820)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1227)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:436)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: weblogic.xml.schema.binding.util.ClassUtil$ClassUtilException: unable to load class:java.lang.ClassNotFoundException: eppix.wsdls.EPIXServiceControlSEI
         at weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
         at weblogic.wsee.ws.WSBuilderHelper.loadClass(WSBuilderHelper.java:281)
         at weblogic.wsee.ws.WSBuilderHelper.populatePort(WSBuilderHelper.java:230)
         at weblogic.wsee.ws.WSBuilderHelper.buildWsPort(WSBuilderHelper.java:183)
         at weblogic.wsee.ws.WSBuilderHelper.buildService(WSBuilderHelper.java:151)
         at weblogic.wsee.ws.WSBuilderHelper.buildService(WSBuilderHelper.java:98)
         at weblogic.wsee.ws.WsBuilder.buildService(WsBuilder.java:397)
         at weblogic.wsee.ws.WsFactory.createClientService(WsFactory.java:45)
         at weblogic.wsee.jaxrpc.ServiceImpl.init(ServiceImpl.java:154)
         at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:144)
         at weblogic.wsee.jaxrpc.ServiceRefProcessorImpl.<init>(ServiceRefProcessorImpl.java:77)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at weblogic.deployment.ServiceRefProcessorFactory.constructProcessor(ServiceRefProcessorFactory.java:62)
         at weblogic.deployment.ServiceRefProcessorFactory.getProcessor(ServiceRefProcessorFactory.java:48)
         at weblogic.deployment.BaseEnvironmentBuilder.addServiceReferences(BaseEnvironmentBuilder.java:548)
         at weblogic.servlet.internal.CompEnv.activate(CompEnv.java:139)
         at weblogic.servlet.internal.WebAppServletContext.activate(WebAppServletContext.java:2998)
         at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1356)
    Edited by: user3119699 on Dec 10, 2009 2:04 AM
    Edited by: user3119699 on Dec 10, 2009 3:42 AM

    I am facing the same problem in my application and I didn't find solution to it till now
    please ,Can anyone help me ?????

  • We have developed a desktop application using Flash software and published the same for MAC environment. When we double click on the index.app file, the application is working perfectly in Mac 10.6.7 at our office. But if the same index.app file is double

    We have developed a desktop application using Flash software and published the same for MAC environment. When we double click on the index.app file, the application is working perfectly in Mac 10.6.7 at our office. But if the same index.app file is double clicked in Mac 10.6.7 at out clients location, its not opening. For your information the client is able to open this same application by double clicking on index.swf file. The main problem is that client is not able to open the application using index.app file at their office whereas we are able to do so at our office. Can anyone give some suggestions to sort this problem?

    The most common reason is different versions of Flash, or different versions of web browsers used.  Some users may elect to not have Flash installed at all because of the processor overhead of Flash.  If you are going to make an application for a client, check what operating system and browser versions they are using first.  Then determine if a stand alone application is required, or if they have the necessary plugins to run specific browser enhanced code.
    P.S. MAC is an acronym for Media Access Control.  Mac is the shorthand for Macintosh, the operating system and computers made by Apple Inc.

  • HT4628 my time capsule has stopped working - have a green light but get an error message saying "there was a problem connecting to the server..."

    I noticed this week an exclamation mark on the time machine icon on the menu bar.
    My Macbook, iPad and iPhone all connect to the network but i get "there was a problem connecting to the server..."
    When I open the preferences the time capsule is off but turnign it back on sends me in a loop of selecting the Time Capsule device (which has a nice green light etc) and then getting the error messgae about being unable to connect. I've pulled the plug a couple of times (this has worked in the past) but no change.
    Any advice would be welcome before I try a factory reset or have to return to Apple for repair (the one thing they are offering as the thing is only 5 months old)

    I also noticed that when I go to finder I see two MacBook Air's that are in my name but have the number (2) and (3) next to the name.
    That is a well known bug in Yosemite.
    Try open System Preferences (gear icon on the dock)
    Open Sharing
    Edit back to the correct name for your Mac
    This may...or may not help.  But, it won't hurt.
    The Mac's name may stay stable....or you may see (2), (3), etc again soon.
    Be sure to restart both your Mac and the Time Capsule after you do this.

  • Updated to Adobe Muse 2014 this morning and have worked in it for the last 8 hours. Now when I try to publish the updated site to Business Catalyst for my client to preview it crashes everytime. I have tried just publishing altered files only, then tried

    Updated to Adobe Muse 2014 this morning and have worked in it for the last 8 hours. Now when I try to publish the updated site to Business Catalyst for my client to preview it crashes everytime. I have tried just publishing altered files only, then tried the whole site again, and then tried publishing as a new site altogether. Thought I would then try to export as HTML in the hope of uploading the files via an FTP client and Muse crashes and locks up again. I am extremely stressed about this as I am in the last few days of of website I have been working on now with no issues since December. We are due to go live and my client needs to see it. I am desperate for an answer. It is not looking good. I am on an Apple Mac and have not had any isses publishing it for the last 6 months. Not very happy to say the least. Need desperate help.

    Hi Zak, I got onto Adobe Customer Care Live Chat this morning and gave them the error message. After some trouble shooting with them it appears the older archived file of the site still publishes. I have now reverted back to the old file and copied and pasted out of the new file and from some ideas given to me by support I am now able to publish to Business Catalyst. It seems there was something corrupt within the new pages added yesterday. I have no idea if this would have still happened if I hadn't updated but I am glad it wasn't a Muse specific problem. I am loving using Muse and the support from Adobe has been excellent. Thanks everyone. By the way I do love the new version and apart from this hick up that lost me a few hours, aged me some more and gave me grey hair I really love Muse. Thanks again.

  • This pops up when exporting in iMovie "Unable to prepare project for publishing: The project could not be prepared for publishing because an error occurred. (ParamErr: error in user parameter list)" I have turned off my Time Machine in terminal.

    This pops up when exporting in iMovie "Unable to prepare project for publishing: The project could not be prepared for publishing because an error occurred. (ParamErr: error in user parameter list)" I have turned off my Time Machine in terminal yet it remains. What do I do, I need your help PLEASE.

    Hi
    Error -50 paramErr  Error in user parameter list
    Can there be any external hard disks - if so How is/are it/they formatted ? Must be Mac OS Extended (hfs) if used for Video.
    UNIX/DOS/FAT32/Mac OS Exchange - works for most but not for VIDEO.
    What this means in Your situation is above me.
    • free space on internal boot hard disk? How much ?
    Video codec
    • streamingDV, AIC etc. (not .avi, .mp4, .m4v, .wmv etc as they are containers not codecs)
    Pictures
    • in what format ? .jpg, .bmp, .tif, else ?
    Audio
    • from where/what format ? iTunes, .avi, .mp3, .aiff, else ?
    The "com.apple.iMovie.plist" file
    Many users has not observed that there are TWO libraries.
    • Library - at root level
    • Library - in user/account folder - THIS IS THE ONE to look into
    from Luke Burns
    I fixed the problem.. but it was very, very strange. I had a very long section for credits and set the line spacing to 1.0.. for some reason this caused it. I removed it, and it worked fine. I put it back, and I couldn't preview or play the video.
    I don't know why that could cause that big of a problem, but it did..
    Klaus1
    You need more free space on your hard drive.
    jonorparkerjon
    After phone support from apple I ended up creating a new project and adding all 117 clips back in individually till I found out what clips flagged and would not allow me to export. I had 3 I deleted and replaced and everything works now 1hr after tedious work....
    Where do Your material come from
    • Camera
    • External hard disk
    • USB-memory
    And all are connected so that iMovie can find it ?
    Yours Bengt W

  • Unable to prepare project for publishing The project could not be prepared for publishing because an error occurred. (Error in user parameter list) How do I fix this???

    Unable to prepare project for publishing
    The project could not be prepared for publishing because an error occurred. (Error in user parameter list)
    How do I fix this???
    I have downloaded my family movies captured on Hi8 video through a Dazzle hollywood DV-bridge to the iMac. Everything went well until I tried to finalize the project.

    I'm having the same problem. 
    When I export (and I want HD quality) I get the error message that
    Unable to prepare project for publishing The project could not be prepared for publishing because an error occurred. (Error in user parameter list)
    How do I free up more space on my startup disk?  My hard drive has 158.61 GB free.  Do I need to free up more space?

  • DSS problems when publishing large amount of data fast

    Has anyone experienced problems when sending large amounts of data using the DSS. I have approximately 130 to 150 items that I send through the DSS to communicate between different parts of my application.
    There are several loops publishing data. One publishes approximately 50 items in a rate of 50ms, another about 40 items with 100ms publishing rate.
    I send a command to a subprogram (125ms) that reads and publishes the answer on a DSS URL (app 125 ms). So that is one item on DSS for about 250ms. But this data is not seen on my man GUI window that reads the DSS URL.
    My questions are
    1. Is there any limit in speed (frequency) for data publishing in DSS?
    2. Can DSS be unstable if loaded to much?
    3. Can I lose/miss data in any situation?
    4. In the DSS Manager I have doubled the MaxItems and MaxConnections. How will this affect my system?
    5. When I run my full application I have experienced the following error Fatal Internal Error : ”memory.ccp” , line 638. Can this be a result of my large application and the heavy load on DSS? (se attached picture)
    Regards
    Idriz Zogaj
    Idriz "Minnet" Zogaj, M.Sc. Engineering Physics
    Memory Profesional
    direct: +46 (0) - 734 32 00 10
    http://www.zogaj.se

    LuI wrote:
    >
    > Hi all,
    >
    > I am frustrated on VISA serial comm. It looks so neat and its
    > fantastic what it supposes to do for a develloper, but sometimes one
    > runs into trouble very deep.
    > I have an app where I have to read large amounts of data streamed by
    > 13 µCs at 230kBaud. (They do not necessarily need to stream all at the
    > same time.)
    > I use either a Moxa multiport adapter C320 with 16 serial ports or -
    > for test purposes - a Keyspan serial-2-USB adapter with 4 serial
    > ports.
    Does it work better if you use the serial port(s) on your motherboard?
    If so, then get a better serial adapter. If not, look more closely at
    VISA.
    Some programs have some issues on serial adapters but run fine on a
    regular serial port. We've had that problem recent
    ly.
    Best, Mark

  • Problem in publishing web service

    i am getting problems in publishing coffee break
    service given in jawa web server development package
    exercise samples
    i ran "ant run-publish"
    i got the below response:
    javax.xml.registry.JAXRException:JAXR.UDDI.091:No
    concept specified for this classification
    at
    sun.com.xml.registry.uddi.UDDIMAPPER.classification2CategoryBag(Unknown
    Source)
    at
    sun.com.xml.registry.uddi.UDDIMAPPER.organisation2BuisinessEntity(Unknown
    Source)
    at
    sun.com.xml.registry.uddi.UDDIMAPPER.organisations2BuisinessEntities(Unknown
    Source)
    at
    sun.com.xml.registry.uddi.UDDIMAPPER.saveOrganisations(Unknown
    Source)
    at
    sun.com.xml.registry.uddi.BuisinessLifeCycleManagerImpl.saveOrganisations(Unknown
    Source)
    at JAXRPublish.executePublish(Unknown Source)
    at JAXRPublish.main(Unknown Source)
    The code is :
    import javax.xml.registry.*;
    import javax.xml.registry.infomodel.*;
    import java.net.*;
    import java.security.*;
    import java.util.*;
    * The JAXRPublish class consists of a main method, a
    * makeConnection method, and an executePublish
    method.
    * It creates an organization and publishes it to a
    registry.
    public class JAXRPublish {
    Connection connection = null;
    public JAXRPublish() {}
    public static void main(String[] args) {
    ResourceBundle bundle =
    ResourceBundle.getBundle("JAXRExamples");
    String queryURL =
    bundle.getString("query.url");
    String publishURL =
    bundle.getString("publish.url");
    // Edit to provide your own username and
    password
    // Defaults for Registry Server are
    testuser/testuser
    String username =
    bundle.getString("registry.username");
    String password =
    bundle.getString("registry.password");
    JAXRPublish jp = new JAXRPublish();
    jp.makeConnection(queryURL, publishURL);
    jp.executePublish(username, password);
    * Establishes a connection to a registry.
    * @param queryUrl     the URL of the query registry
    * @param publishUrl     the URL of the publish
    registry
    public void makeConnection(String queryUrl,
    String publishUrl) {
    * Specify proxy information in case you
    * are going beyond your firewall.
    ResourceBundle bundle =
    ResourceBundle.getBundle("JAXRExamples");
    String httpProxyHost =
    bundle.getString("http.proxyHost");
    String httpProxyPort =
    bundle.getString("http.proxyPort");
    String httpsProxyHost =
    bundle.getString("https.proxyHost");
    String httpsProxyPort =
    bundle.getString("https.proxyPort");
    * Define connection configuration properties.
    * To publish, you need both the query URL and
    the
    * publish URL.
    Properties props = new Properties();
    props.setProperty("javax.xml.registry.queryManagerURL",
    queryUrl);
    props.setProperty("javax.xml.registry.lifeCycleManagerURL",
    publishUrl);
    props.setProperty("com.sun.xml.registry.http.proxyHost",
    httpProxyHost);
    props.setProperty("com.sun.xml.registry.http.proxyPort",
    httpProxyPort);
    props.setProperty("com.sun.xml.registry.https.proxyHost",
    httpsProxyHost);
    props.setProperty("com.sun.xml.registry.https.proxyPort",
    httpsProxyPort);
    try {
    // Create the connection, passing it the
    // configuration properties
    ConnectionFactory factory =
    ConnectionFactory.newInstance();
    factory.setProperties(props);
    connection = factory.createConnection();
    System.out.println("Created connection to
    registry");
    } catch (Exception e) {
    e.printStackTrace();
    if (connection != null) {
    try {
    connection.close();
    } catch (JAXRException je) {}
    * Creates an organization, its classification,
    and its
    * services, and saves it to the registry.
    * @param username the username for the registry
    * @param password the password for the registry
    public void executePublish(String username,
    String password) {
    RegistryService rs = null;
    BusinessLifeCycleManager blcm = null;
    BusinessQueryManager bqm = null;
    try {
    rs = connection.getRegistryService();
    blcm = rs.getBusinessLifeCycleManager();
    bqm = rs.getBusinessQueryManager();
    System.out.println("Got registry service,
    query " +
    "manager, and life cycle manager");
    // Get authorization from the registry
    PasswordAuthentication passwdAuth =
    new PasswordAuthentication(username,
    password.toCharArray());
    Set creds = new HashSet();
    creds.add(passwdAuth);
    connection.setCredentials(creds);
    System.out.println("Established security
    credentials");
    ResourceBundle bundle =
    ResourceBundle.getBundle("JAXRExamples");
    // Create organization name and
    description
    Organization org =
    blcm.createOrganization(bundle.getString("org.name"));
              //System.out.println(bundle.getString("org.name"));
    InternationalString s =
    blcm.createInternationalString(bundle.getString("org.description"));
    org.setDescription(s);
    // Create primary contact, set name
    User primaryContact = blcm.createUser();
    PersonName pName =
    blcm.createPersonName(bundle.getString("person.name"));
    primaryContact.setPersonName(pName);
    // Set primary contact phone number
    TelephoneNumber tNum =
    blcm.createTelephoneNumber();
    tNum.setNumber(bundle.getString("phone.number"));
    Collection phoneNums = new ArrayList();
    phoneNums.add(tNum);
    primaryContact.setTelephoneNumbers(phoneNums);
    // Set primary contact email address
    EmailAddress emailAddress =
    blcm.createEmailAddress(bundle.getString("email.address"));
    Collection emailAddresses = new
    ArrayList();
    emailAddresses.add(emailAddress);
    primaryContact.setEmailAddresses(emailAddresses);
    // Set primary contact for organization
    org.setPrimaryContact(primaryContact);
    // Set classification scheme to NAICS
    ClassificationScheme cScheme =
    bqm.findClassificationSchemeByName(null,
    bundle.getString("classification.scheme"));
    // Create and add classification
    Classification classification =
    blcm.createClassification(cScheme,
    bundle.getString("classification.name"),
    bundle.getString("classification.value"));
    Collection classifications = new
    ArrayList();
    classifications.add(classification);
    org.addClassifications(classifications);
    // Create services and service
    Collection services = new ArrayList();
    Service service =
    blcm.createService(bundle.getString("service.name"));
    InternationalString is =
    blcm.createInternationalString(bundle.getString("service.description"));
    service.setDescription(is);
    // Create service bindings
    Collection serviceBindings = new
    ArrayList();
    ServiceBinding binding =
    blcm.createServiceBinding();
    is =
    blcm.createInternationalString(bundle.getString("svcbinding.description"));
    binding.setDescription(is);
    // allow us to publish a fictitious URL
    without an error
    binding.setValidateURI(false);
    binding.setAccessURI(bundle.getString("svcbinding.accessURI"));
    serviceBindings.add(binding);
    // Add service bindings to service
    service.addServiceBindings(serviceBindings);
    // Add service to services, then add
    services to organization
    services.add(service);
    org.addServices(services);
    // Add organization and submit to registry
    // Retrieve key if successful
    Collection orgs = new ArrayList();
    orgs.add(org);
    BulkResponse response =
    blcm.saveOrganizations(orgs);
    Collection exceptions =
    response.getExceptions();
    if (exceptions == null) {
    System.out.println("Organization
    saved");
    Collection keys =
    response.getCollection();
    Iterator keyIter = keys.iterator();
    if (keyIter.hasNext()) {
    javax.xml.registry.infomodel.Key
    orgKey =
    (javax.xml.registry.infomodel.Key) keyIter.next();
    String id = orgKey.getId();
    System.out.println("Organization
    key is " + id);
    } else {
    Iterator excIter =
    exceptions.iterator();
    Exception exception = null;
    while (excIter.hasNext()) {
    exception = (Exception)
    excIter.next();
    System.err.println("Exception on
    save: " +
    exception.toString());
    } catch (Exception e) {
    e.printStackTrace();
    } finally {
    // At end, close connection to registry
    if (connection != null) {
    try {
    connection.close();
    } catch (JAXRException je) {}
    Please solve my problem.

    I have the same problem when trying to deploy a simple web service with longs and bytes. I still don't know where the error comes from. Did you find something out? Any answer would be welcome.

Maybe you are looking for

  • Download Acrobat 9 Pro Ext

    Just had to reimage my PC, and am attempting to reinstall Adobe Acrobat 9 Pro Ext.  I have been able to find all of the downloads for the Updates, but not the basic program.  Can anyonbe help with the location of the download for Acrobat 9 Pro Ext?

  • Mail-Sender-Adapter, FetchReport

    Hello, can anyone explain me how to use the FetchReport option in the Mail-Sender-Adapter? In the Adapter-Audit-Protocol the Adapter I always get an error. The SAP-Help pages are not very helpful, an in SDN there are no articles about this. kind rega

  • [solved]Gentoo Bash Prompt not working in X

    Hi I'm using this .bashrc from AUR: http://aur.archlinux.org/packages.php?ID=18418  it is said to be the standard bashrc from gentoo. It works with xterm, but I now installed urxvt (256 color) and it doesn't work any more, my prompt ist not colored a

  • How do I find BOTH the raw and the cameras jpeg files?

    I've got Aperture 3 importing raw plus jpegs from my Nikon D600 camera. The D600 produces amazing jpegs! Aperture is set to use the raw file as the master. I'd hoped that I'd have access to both the raw AND the camera jpeg but I only see the raw file

  • Flash Player Plug-in vs. Player Active X

    I just updated my Flash Player 10 Plug-In to version 10.0.32.18. I also have a Flash Player 10 ActiveX listed in my "Add/Remove Programs" list that carries version nunber 10.0.32.18. These 2 entries have been in Add/Remove for quite some time. I cann