DynamicConfigurationException:Unable to set ASMA in Module

Hi,
I have written customized adaptor module and trying to set the FileName to Dynamic Configuration object. But it is throwing error.
I used the below code:
Message msg = null;
MessagePropertyKey key= new MessagePropertyKey("http://sap.com/xi/XI/System/File","FileName");
msg.setMessageProperty(key,"Testing");
moduledata.setPrincipleParameter(msg);
I have enabled "FileName" the ASMA(adapter specific message attribute) in receiver communication channel. But it is throwing the below exception.
"DynamicConfigurationException:: The adapter message property "FileName" was specified as mandatory element, but was not supplied in XIMessageHeader".
Working on PI7.1.
Please let me know, if i need to do any changes.

"DynamicConfigurationException:: The adapter message property "FileName" was specified as mandatory element, but was not supplied in XIMessageHeader".
I used the below code:
Message msg = null;
MessagePropertyKey key= new MessagePropertyKey("http://sap.com/xi/XI/System/File","FileName");
msg.setMessageProperty(key,"Testing");
moduledata.setPrincipleParameter(msg);
just you have to use below code insted of what ever u wrote the code.
String DynamicConfig(String a, Container container) throws StreamTransformationException{
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
conf.put(key,a);
return "";
and in Receiver file communication channel , just you have to enable ASMA and file name.
Note:
if Ur scenario is File To File then just enable Asma and file name in both sender and receiver adapters.

Similar Messages

  • Unable to load the EJB module. DeploymentContext does not contain any EJB.

    I'm writing an enterprise application to familiarize myself with Glassfish 3.1.2 and EJB 3.1. I've created several local, stateless beans, and injected one into a JSF managed bean. The ejb and web modules compile fine, but when I launch the application with Glassfish I get the following startup error and the application does not deploy. I don't understand what it means, can someone ellaborate?
    SEVERE: Exception while invoking class org.glassfish.ejb.startup.EjbDeployer prepare method
    SEVERE: Exception while invoking class org.glassfish.javaee.full.deployment.EarDeployer prepare method
    SEVERE: Exception while preparing the app
    SEVERE: Unable to load the EJB module. DeploymentContext does not contain any EJB. Check the archive to ensure correct packaging for D:\Documents\NetBeansProjects\Test\dist\gfdeploy\Test\Test-war_war.
    If you use EJB component annotations to define the EJB, and an ejb or web deployment descriptor is also used, please make sure that the deployment descriptor references a Java EE 5 or higher version schema, and that the metadata-complete attribute is not set to true, so the component annotations can be processed as expected
    org.glassfish.deployment.common.DeploymentException: Unable to load the EJB module. DeploymentContext does not contain any EJB. Check the archive to ensure correct packaging for D:\Documents\NetBeansProjects\Test\dist\gfdeploy\Test\Test-war_war.
    If you use EJB component annotations to define the EJB, and an ejb or web deployment descriptor is also used, please make sure that the deployment descriptor references a Java EE 5 or higher version schema, and that the metadata-complete attribute is not set to true, so the component annotations can be processed as expected
         at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:166)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:871)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
         at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
         at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)
         at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)
         at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
         at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
         at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
         at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
         at java.lang.Thread.run(Thread.java:722)

    My guess is that you deployed an ejb without bean in it. when you have an ejb module, be sure you have at least one bean present.
    Are you sure you have implementend some beans? Or did you do this only in the web module?
    Try adding an @Stateless bean doing nothing in you ejb module, redeploy and let me know if that works

  • Error deploying EJB on weblogic: Unable to set the transaction attribute

    Hi,
    I'm trying to deploy an application in WL10.3.2 and an error occurred during activation of changes.
    Here is the error message from the log file:
    <Jun 6, 2011 1:28:27 PM MDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'serverEAR-2' due to error weblogic.application.ModuleException: Exception preparing module: EJBModule(serverEJB-2.8.0.jar)
    Unable to deploy EJB: C:\oracle\Middleware\user_projects\domains\base_domain\servers\Server_3\tmp\_WL_user\serverEAR-2\1zw7ao\serverEJB-2.8.0.jar from serverEJB-2.8.0.jar:
    Unable to set the transaction attribute for method 'saveActionGroup(EditableActionGroup)' on EJB 'ViewBean'. No matching method could be found. Please verify the method signature specified in the ejb-jar.xml file matches that of your Remote interface for this EJB.
    weblogic.application.ModuleException: Exception preparing module: EJBModule(serverEJB-2.8.0.jar)
    Unable to deploy EJB: C:\oracle\Middleware\user_projects\domains\base_domain\servers\Server_3\tmp\_WL_user\serverEAR-2\1zw7ao\serverEJB-2.8.0.jar from serverEJB-2.8.0.jar:
    Unable to set the transaction attribute for method 'saveActionGroup(EditableActionGroup)' on EJB 'ViewBean'. No matching method could be found. Please verify the method signature specified in the ejb-jar.xml file matches that of your Remote interface for this EJB.
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:454)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.ejb.container.deployer.DeploymentDescriptorException: Unable to set the transaction attribute for method 'saveActionGroup(EditableActionGroup)' on EJB 'ViewBean'. No matching method could be found. Please verify the method signature specified in the ejb-jar.xml file matches that of your Remote interface for this EJB.
         at weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl.processCTs(MBeanDeploymentInfoImpl.java:1502)
         at weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl.processSpecificMethodCTs(MBeanDeploymentInfoImpl.java:1472)
         at weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl.initializeTransactionAttribute(MBeanDeploymentInfoImpl.java:773)
         at weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:259)
         at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1190)
         Truncated. see log file for complete stacktrace
    Please help me...Thanks.

    In your ejb-jar.xml you are referring to a method saveActionGroup(EditableActionGroup) which is not defined in your remote interface.
    Maybe you have made some typo in the configuration. Check your transaction section, i.e.,
    <container-transaction>
                <method>
                    <ejb-name>ViewBean</ejb-name>
                    <method-name>saveActionGroup</method-name>
                    <method-params>
                        <method-param>package.EditableActionGroup</method-param>
                    </method-params>
                </method>
                <trans-attribute>Required</trans-attribute>
    </container-transaction>or something similar. See if the defined methods are corresponding to the methods defined in the remote interface.

  • Error Deployer BEA-149231 Unable to set the activation state to true

    Hi Friends ,
    We are using weblogic 10.3.5.0, one of the deployment module is in failed status.
    In the application logs we could see the following error
    ERROR Util: Initial Spring Application Context creation failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datasource' defined in class path resource [spring.xml]: Invocation of init method failed; nested exception is javax.naming.NoPermissionException: User &lt;anonymous&gt; does not have permission on comp.env.cpt to perform lookup operation
    in the weblogic server logs we could find the follow error
    <24-Jan-2013 08:47:43 o'clock CET> <Warning> <HTTP> <BEA-101162> <User defined listener org.apache.myfaces.webapp.StartupServletContextListener failed: java.lang.ExceptionInInitializerError.java.lang.ExceptionInInitializerError
    at com.db.cpt.biz.Utilities.Util.<clinit>(Util.java:114)
    at com.db.cpt.web.listener.MyPhaseListener.<clinit>(MyPhaseListener.java:26)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    Truncated. see log file for complete stacktrace
    Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datasource' defined in class path resource [spring.xml]: Invocati
    on of init method failed; nested exception is javax.naming.NoPermissionException: User <anonymous> does not have permission on comp.env.cpt to perform lookup operation.
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1170)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
    Truncated. see log file for complete stacktrace
    Caused By: javax.naming.NoPermissionException: User <anonymous> does not have permission on comp.env.xxx to perform lookup operation.
    at weblogic.jndi.internal.ServerNamingNode.checkPermission(ServerNamingNode.java:443)
    at weblogic.jndi.internal.ServerNamingNode.checkLookup(ServerNamingNode.java:423)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:180)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
    Truncated. see log file for complete stacktrace
    >
    <24-Jan-2013 08:47:43 o'clock CET> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'xxx'.
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    Truncated. see log file for complete stacktrace
    Caused By: javax.naming.NoPermissionException: User <anonymous> does not have permission on comp.env.cpt to perform lookup operation.
    at weblogic.jndi.internal.ServerNamingNode.checkPermission(ServerNamingNode.java:443)
    at weblogic.jndi.internal.ServerNamingNode.checkLookup(ServerNamingNode.java:423)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:180)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
    Truncated. see log file for complete stacktrace
    Can you please advise us how can we resolve this issue which with i am struggling
    Raja

    Kumar,
    thanks for the update.
    we fixed the issue,
    for a particular user we didnt add his membership in a group in security realm, we added the user to a particular group, and then restarted weblogic, and deployed the module, and then status of deployment becomes successful.
    Raja

  • Unable to  set some dates  in Adobe bridge cs2

    HI ALL
    Our keywording team using  the  Adobe bridge CS2.
    Kindly  hep me to understand Why  some dates  Like
    1/1/1970
    1/1/1642
    1/1/1890
    etc  .....
    I unable to  set in  ITPC image Tab  information .............
    Lakhan

    Hi
    Thanks for revert ......
    I  tried   with  CS2 & CS3  but only  specific  dates like (1/1/1970) i above  mentioned  is still  not   reflecting in IPTC image  info   ........
    Please suggest....

  • Illustrator won't run: "unable to set maximum number of files to be opened"

    I have an intel macbook pro (core duo with 2GB ram) and a copy of purchased adobe creative suite 2. Other applications in the suite like photoshop, acrobat, etc can run on my mac without any problem. But when I try to run illustrator, it just shows an error message "Unable to set maximum number of files to be opened" and quits. I also installed a trial version of illustrator cs3 and got the same problem. Can anyone help? Thanks.
    CC

    Hi, I realize this is an old thread but it was unanswered and the issue has come up again in a newer thread:
    http://forums.adobe.com/message/2534652
    If the original poster sees this, can you reply tin the new thread and let us know if you were ever to solve this problem?
    Thanks!

  • Service Desk Unable to set status to Customer Action and Proposed Solution

    Hi Everyone,
    We are unable to set a service desk issue to the status Customer Action or Proposed solution.
    I have someone create a new issue in the bakend system and when I receive the issue I assign it to myself as the processor. When I try to set teh status to Customer action it is grayed out.
    I have checked the following:
    1. As a test I assigned My user with sap_all profile so does not appear to be authroisation related
    2. The status profile has all six standard values (New, customer action, In Process, Sent to SAP, Proposed Solution, Confirmed).
    3. The transaction types have been defined using the standard profiles for Text Det. Procedure, Partnet Determination Procedure, Status Profile. The Partner Function ORG is set to Sold-To-Party , The date profile is a SRV_SLA_ITEM and the Action profile is set to SLFN0001_ADVANCED. The Org Data Prof is set to a customer defined one: ZSSC000000001.
    4. I have checked transaction ppoma_crm and the org structure and my user is assigned to a team lead position.
    Your assistance is greatly appreciated.
    Michael

    Hi Michael,
    please check your status profile for the "lowest status no." and "highest status no." values of the status values as Alex mentioned!
    You can find this in SPRO under "SAP Solution Manager> Scenario-Specific Settings>Service Desk>Service Desk>Status Profile".
    If the "high" value of the status "New" is lower than the status number of status "Customer Action" than you can not set the message from "New" to "Customer Action"!
    Hope this helps,
    Christoph

  • Unable to set the selected value for a ADF LOV

    Hi,
    I am developing an application using jdeveloper 10.1.3 and Struts.
    I have created a ADF LOV on my JSP Page as given below:
    <html:select property="lob" onchange="javascript:selectLOB(this.form)">
    <html:optionsCollection label="prompt" value="index" property="lob.displayData"/>
    </html:select>
    When i submit the form, i am able to get the value of the selected Value in the List.
    JUCtrlListBinding listBinding = (JUCtrlListBinding) formBean.get("Lob");
    Row r = (Row) listBinding.getSelectedValue();
    String SoLob = (String) r.getAttribute("LobLob");
    But i am unable to set the selected value back in the list when i return to the form again.
    I tried the following:
    int x = listBinding.getSelectedIndex();
    listBinding.setSelectedIndex(x);
    It would be really helpful if some one could let me know what needs to be done.
    Thanks,
    Subashini

    Gyan,
    I tried with the code you suggest , its trying to set the value of a field, but my requirement is to change the property for
    "Rendered" on the field so that based on search parameters we can hide result table column.
    After searching online, I modified the controller code as follows
    1.Created a new transient attribute (Testrender) with type "Boolean" and always updateable.
    2.changed the "Rendered" property value on the field I want to hide as ${oa.PoSearchVO1.Testrender}.
    3. Modified the controller code as follows :
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            OAViewObject testvo = (OAViewObject)am.findViewObject("PoSearchVO1");
            OADBTransaction txn = am.getOADBTransaction();
            if (testvo != null)
              OARow row = (OARow)testvo.first();
                if (a.equalsIgnoreCase("Approved"))
                     row.setAttribute("Testrender", Boolean.FALSE);
                else
                     row.setAttribute("Testrender", Boolean.TRUE);
            } But now when i run the page and populate the search field and click "Go" its hiding the field but throwing the following error and the search results are also bad.
    Its using only the value of one search parameter but not the second one .
    The search cannot be executed because the table has pending changes that would be lost. I think the vo is getting dirty when I update the transient attribute value. So I used txn.rollback ,then search is working fine but its not hiding the field.
    So can you please let me know how to proceed from here ?

  • Unable to set  kernel parameters using solaris 10

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx
    guru

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx
    guru

  • Unable to set kernel parameters using Reource Control

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx
    guru

    I finally had some time to find the actual syntax for tuning process.max-msq-qbytes and process.max-msg-messages. prctl will change those paramaters for an existing process.
    As a proof of concept I changed process.max-msg-messages to a 64k. process 2221 is my shell.
    prctl -n process.max-msg-messages  -r -v 64k 2221
    bash-3.00# prctl 2221
    process: 2221: -csh
    NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
    process.max-port-events
            privileged      65.5K       -   deny                                 -
            system          2.15G     max   deny                                 -
    process.max-msg-messages
            privileged      64.0K       -   deny                                 -
            system          4.29G     max   deny                                 -
    process.max-msg-qbytes
            privileged      64.0KB      -   deny                                 -
            system          4.00GB    max   deny                                 -And now to make this persist across reboots...
    So long as I'm experimenting, I'll use projadd and add a new project which just includes me and not the rest of the users in the group staff.
    bash-3.00# projadd -p 115 -U testuser \
    -K "process.max-msg-messages=(priv,64K,deny)" \
    -K "process.max-msg-qbytes=(priv,64K,deny)" \
    user.me This creates the following /etc/project:
    (note the last line is all on one line in the real file minus the \.)
    placer% cat /etc/project
    system:0::::
    user.root:1::::
    noproject:2::::
    default:3::::
    group.staff:10::::
    user.me:115::testme::\
    process.max-msg-messages=(priv,64000,deny);process.max-msg-qbytes=(priv,65536,deny)After a reboot I checked the values by loging in under my user and running prctl.
    placer% prctl $$
    process: 419: -csh
    NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
    process.max-port-events
            privileged      65.5K       -   deny                                 -
            system          2.15G     max   deny                                 -
    process.max-msg-messages
            privileged      64.0K       -   deny                                 -
            system          4.29G     max   deny                                 -
    process.max-msg-qbytes
            privileged      64.0KB      -   deny                                 -
            system          4.00GB    max   deny                                 -
    process.max-sem-ops
            privileged        512       -   deny                                 -
            system          2.15G     max   deny                                 -
    ...Solaris 10 has different tunables and default values from 8 and 9. It's default tunables should be good for most applications per a given system's hardware. There are some great blog articles, and discussions on opensolaris.org and blogs.sun.com on tuning that explain the intent of tuning and why we shouldn't have to tune.
    Cheers,
    ~~sa

  • Unable to set kernel parameters using Reource Control in solaris 10

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx

  • [CUPS] Unable to set my new CUPS server with an HP printer (solved)

    Hello,
    I come from Gentoo and I just installed my new Arch Linux server on a notebook with 2 NIC ... Now, I'm trying to set the CUPS deamon to share printer (HP DESKJET 895Cxi) for 3 workstations in my LAN. Before, it was working (printer and linux ... has never been very good...). But now, I'm not able, and it's about 1 hour I'm looking for a stupid error that I don't know if it's important or not ...
    (all is on my Wiki : http://pix-mania.dyndns.org/mediawiki/index.php/Cups)
    Here are a list of installed package : cups ghostscript gsfonts hplip
    The printer (USB) :
    (lsusb)
    Bus 002 Device 004: ID 03f0:0004 Hewlett-Packard DeskJet 895c
    (dmesg)
    usb 2-2: new full speed USB device using uhci_hcd and address 4
    usblp0: Disabling reads from problematic bidirectional printer
    usblp0: USB Unidirectional printer dev 4 if 0 alt 1 proto 2 vid 0x03F0 pid 0x0004
    Current configuration (only change made to original configuration) :
    Listen <ip_serveur>:631
    <Location />
    Order allow,deny
    Allow From all
    </Location>
    <Location /admin>
    Order allow,deny
    Allow From all
    </Location>
    <Location /admin/conf>
    AuthType Default
    Require user @SYSTEM
    Order allow,deny
    Allow From all
    </Location>
    When starting cups service, all is fine : I can use a workstation to browse the Web Interface ... but printer seems to be not detected since it tells "No printers." when clicking on "Printers" tab. So, I go to "Administration" tab and, under "Printers", I click the "Find New Printers" and again, it says : "No printers found.".
    Not goot ... so, like I was doing with Gentoo, I click on "Add Printer" ... then, I receive a redirection to HTTPS ... click on the link (or wait) and nothing happend (timed out): web interface is broken for HTTPS ... I really got no idea why HTTPS is not working .
    After that, when updating the configuration (with vim) and restarting the service, deamon won't stop and I have to send a "kill -9" to the cupsd pid ...
    I look in log and I can just see this :
    E [09/Jan/2011:18:19:55 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    I googled for one hour, but is not more working right now ...
    Some questions :
    - the printer is not detected? Is it because of the ACLs errors ?
    - what the hell is "ACLs" for cups ? Never seen that before ...
    So, right now, I got a working HTTP but not working HTTPS, with no printer available ... very useless
    This printer is working "well" with cups, since it's an old model and it's a HP printer, so is "fully?" working on Linux ...
    Any idea on what to do/try now ?
    EDIT: after that message, I just refresh the page (I'm using Chromium) and ... magically, HTTPS was working (after accept untrusted certificate for HTTPS?) ... Then, go back to "Find New Printers" and now, it was working. Printer has been added ... Seems to be OK, but the "Print Self Test Page" doesn't work right now because of this :
    Unsupported format 'application/vnd.cups-command'!
    Current log file :
    E [09/Jan/2011:18:19:55 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:24:48 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:29:08 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:36:28 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:36:42 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:41:06 +0100] Unknown SystemGroup "sys root lpadmin" on line 13, ignoring!
    E [09/Jan/2011:18:41:06 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:42:24 +0100] Unknown SystemGroup "lpadmin" on line 14, ignoring!
    E [09/Jan/2011:18:42:24 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:45:12 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:47:32 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:48:35 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:49:35 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:59:46 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:19:33:06 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:06 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:06 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:13 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:13 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:13 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:13 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:13 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:37 +0100] [CGI] Unable to create avahi client: No such file or directory
    E [09/Jan/2011:19:33:37 +0100] [cups-deviced] PID 2744 (dnssd) stopped with status 1!
    E [09/Jan/2011:19:33:37 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:34:09 +0100] [CGI] Unable to create avahi client: No such file or directory
    E [09/Jan/2011:19:34:09 +0100] [cups-deviced] PID 2763 (dnssd) stopped with status 1!
    E [09/Jan/2011:19:39:51 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:39:52 +0100] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
    E [09/Jan/2011:19:41:23 +0100] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
    E [09/Jan/2011:19:44:49 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:47:16 +0100] Returning IPP client-error-document-format-not-supported for Send-Document (ipp://localhost:631/printers/HP_DeskJet_895C_USB_ES89M230MKGO_HPLIP) from localhost
    E [09/Jan/2011:19:49:36 +0100] Returning IPP client-error-document-format-not-supported for Send-Document (ipp://localhost:631/printers/HP_DeskJet_895C_USB_ES89M230MKGO_HPLIP) from localhost
    EDIT2: tried to print "Print Test Page" instead of the above ... and got these errors :
    (web interface)
    "/usr/lib/cups/backend/hp failed"
    (error_log)
    E [09/Jan/2011:20:08:31 +0100] [CGI] Unable to create avahi client: No such file or directory
    E [09/Jan/2011:20:08:31 +0100] [cups-deviced] PID 3126 (dnssd) stopped with status 1!
    D [09/Jan/2011:20:09:16 +0100] [Job 5] perl: warning: Setting locale failed.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] prnt/backend/hp.c 559: dBus Connection Error (Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory)!
    D [09/Jan/2011:20:09:16 +0100] [Job 5] perl: warning: Please check that your locale settings:
    D [09/Jan/2011:20:09:16 +0100] [Job 5] LANGUAGE = (unset),
    D [09/Jan/2011:20:09:16 +0100] [Job 5] LC_ALL = (unset),
    D [09/Jan/2011:20:09:16 +0100] [Job 5] LANG = "fr_FR.UTF-8"
    D [09/Jan/2011:20:09:16 +0100] [Job 5] are supported and installed on your system.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] perl: warning: Falling back to the standard locale ("C").
    D [09/Jan/2011:20:09:16 +0100] [Job 5] GhostScript extra search path ('GS_LIB'): /usr/share/cups/fonts
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Pondering option 'job-uuid=urn:uuid:e4395221-1209-32a9-5add-30f7945eaa6b'
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Unknown option job-uuid=urn:uuid:e4395221-1209-32a9-5add-30f7945eaa6b.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Pondering option 'job-originating-host-name=localhost'
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Unknown option job-originating-host-name=localhost.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Pondering option 'time-at-creation=1294600145'
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Unknown option time-at-creation=1294600145.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Pondering option 'time-at-processing=1294600145'
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Unknown option time-at-processing=1294600145.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Pondering option 'AP_D_InputSlot='
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Unknown option AP_D_InputSlot=.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] prnt/backend/hp.c 625: ERROR: 5021 device communication error!
    D [09/Jan/2011:20:09:16 +0100] [Job 5] GPL Ghostscript 9.00: Unrecoverable error, exit code 1
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Process 3154 ending: "gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=5..."
    D [09/Jan/2011:20:09:16 +0100] [Job 5] renderer return value: 1
    D [09/Jan/2011:20:09:16 +0100] [Job 5] renderer received signal: 1
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
    D [09/Jan/2011:20:09:16 +0100] [Job 5] error: No such file or directory (2)
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Cleaning up ...
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Killing process 3153 (KID4) with signal 15
    D [09/Jan/2011:20:09:16 +0100] [Job 5] KID3 exited with status 3
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Renderer exit stat: 3
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Killing process 3153 (KID4) with signal 9
    D [09/Jan/2011:20:09:16 +0100] [Job 5]
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Closing foomatic-rip.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Renderer process finished
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Process dying with "Error closing renderer", exit stat: 3
    D [09/Jan/2011:20:09:16 +0100] [Job 5] error: (0)
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Cleaning up ...
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Killing process 3152 (KID3) with signal 15
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Killing process 3152 (KID3) with signal 9
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Error closing renderer
    D [09/Jan/2011:20:09:16 +0100] [Job 5]
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Closing foomatic-rip.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Backend returned status 4 (stop printer)
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Printer stopped due to backend errors; please consult the error_log file for details.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] End of messages
    D [09/Jan/2011:20:09:16 +0100] [Job 5] printer-state=5(stopped)
    D [09/Jan/2011:20:09:16 +0100] [Job 5] printer-state-message="/usr/lib/cups/backend/hp failed"
    D [09/Jan/2011:20:09:16 +0100] [Job 5] printer-state-reasons=paused
    E [09/Jan/2011:20:14:21 +0100] [Job 5] Stopping unresponsive job!
    EDIT3: I tested the ppd from cups (and not hpijs) and got the same problem ... The latest idea was to unplug USB and plug to another USB ... and it seams to works ... Now, the test page print "fine" ...
    So, I shared the printer over my LAN, and tried to print from a workstation ... it works fine now ... when looking error_log, I can see than there is no more Ghostscript error .
    But I have a last question .. if somebody can answer ... When choosing a PPD file, I have the choice between 3 version :
    - hpijs, 3.10.9
    - hpijs, 3.10.9.11
    - hpcups, 3.10.9
    Don't know why onlyl the HPIJS got the ".11" and not any others ... I selected this one and here is what Cups say about the printer :
    HP_DeskJet_895C_USB_ES29Z231JKGO_HPLIP HP DeskJet 895C Local Printer HP Deskjet 895c hpijs, 3.10.9.11 Idle - "ready to print"
    I hope when upgrading the system, I will not get error from PPD file not found ... With my current PPD file, I get (really not sure) this error, but print is working so, it doesn't matter :
    E [09/Jan/2011:21:08:04 +0100] [CGI] Unable to create avahi client: No such file or directory
    E [09/Jan/2011:21:08:04 +0100] [cups-deviced] PID 5705 (dnssd) stopped with status 1!
    E [09/Jan/2011:21:08:09 +0100] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
    Thanks for all .. hope you don't think I'm crazy ^^
    Last edited by loopx (2011-01-09 20:31:21)

    WD and their lack of support for Mavericks:
    A recent email from WD reads:
    Dear WD Registered Customer,
    UPDATE: November 1st, 2013
    As a valued WD customer we want to make you aware of new reports of Western Digital and other external HDD products experiencing data loss when updating to Apple's OS X Mavericks (10.9). WD is urgently investigating these reports and the possible connection to the WD Drive Manager, WD Raid Manager and WD SmartWare software applications. Until the issue is understood and the cause identified, WD strongly urges our customers to uninstall these software applications before updating to OS X Mavericks (10.9), or delay upgrading. If you have already upgraded to Mavericks, WD recommends that you remove these applications and restart your computer. If you have already upgraded to Mavericks and are experiencing difficulty in accessing your external hard drive, please do not save anything to the drive, disconnect the drive from your computer, and contact Western Digital Customer Service at http://support.wd.com/country/ for further assistance.
    The WD Drive Manager, WD Raid Manager, and WD SmartWare software applications are not new and have been available from WD for many years. However, solely as a precaution WD has removed these applications from our website as we investigate this issue.
    Sincerely,
    Western Digital
    Which is basically Western Digital informing you that their out-of-date utilities don’t support Mavericks.
    In any case those utilities are not the most effective. The moral of the story is: the first thing you should do after buying a WD drive is to format it as HFS Extended (Journaled) and not install ANY of their utilities but instead use reliable applications like CarbonCopyCloner or SuperDuper - or Time Machine.

  • How to get the "last changed by" for a set of function modules?

    How to get the "last changed by" for a set of function modules?
    is there any table to get it??

    See [this|Re: Date of creation of function module] I posted earlier.
    >TFDIR will give you the name of the function group program and the include number.
    >E.g. SAPLZFUNCGROUP Include 01.
    >From this you can construct the include name: LZFUNCGROUPU01.
    >You can look this up in TRDIR to find the creation date (CDAT) of the function module.
    In your case, you need unam and udat.
    matt

  • Unable to load the kernel module 'nvidia.ko' [SOLVED]

    After my most recent kernel upgrade, I can't get my GUI to run. I've tried reinstalling the nvidia driver to no avail.
    Any insight would be greatly appreciated. I'm using a GeForce 8400 GS
    cat /var/log/nvidia-installer.log
    ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
    frequently when this kernel module was built against the wrong or
    improperly configured kernel sources, with a version of gcc that differs
    from the one used to build the target kernel, or if a driver such as
    rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
    obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU
    installed in this system is not supported by this NVIDIA Linux graphics
    driver release.
    Please see the log entries 'Kernel module load error' and 'Kernel
    messages' at the end of the file '/var/log/nvidia-installer.log' for
    more information.
    -> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
    -1 No such device
    -> Kernel messages:
    NVRM: This can occur when a driver such as nouveau, rivafb,
    NVRM: nvidiafb, or rivatv was loaded and obtained ownership of
    NVRM: the NVIDIA device(s).
    NVRM: Try unloading the conflicting kernel module (and/or
    NVRM: reconfigure your kernel without the conflicting
    NVRM: driver(s)), then try loading the NVIDIA kernel module
    NVRM: again.
    NVRM: No NVIDIA graphics adapter probed!
    NVRM: The NVIDIA probe routine was not called for 1 device(s).
    NVRM: This can occur when a driver such as nouveau, rivafb,
    NVRM: nvidiafb, or rivatv was loaded and obtained ownership of
    NVRM: the NVIDIA device(s).
    NVRM: Try unloading the conflicting kernel module (and/or
    NVRM: reconfigure your kernel without the conflicting
    NVRM: driver(s)), then try loading the NVIDIA kernel module
    NVRM: again.
    NVRM: No NVIDIA graphics adapter probed!
    NVRM: The NVIDIA probe routine was not called for 1 device(s).
    NVRM: This can occur when a driver such as rivafb, nvidiafb or
    NVRM: rivatv was loaded and obtained ownership of the NVIDIA
    NVRM: device(s).
    NVRM: Try unloading the rivafb, nvidiafb or rivatv kernel module
    NVRM: (and/or reconfigure your kernel without rivafb/nvidiafb
    NVRM: support), then try loading the NVIDIA kernel module again.
    NVRM: No NVIDIA graphics adapter probed!
    ERROR: Installation has failed. Please see the file
    '/var/log/nvidia-installer.log' for details. You may find suggestions
    on fixing installation problems in the README available on the Linux
    driver download page at www.nvidia.com.
    Last edited by wsims (2010-06-22 15:06:04)

    if you used the packages from repos, the blacklist is done automatically in nvidia,
    $ pacman -Qo /etc/modprobe.d/nouveau_blacklist.conf
    /etc/modprobe.d/nouveau_blacklist.conf is owned by nvidia 195.36.31-1
    $ cat /etc/modprobe.d/nouveau_blacklist.conf
    blacklist nouveau
    but i guess you just want to mess your system by using unsupported and very bad ways and you are way smarter than the devs if you used that installer
    Last edited by wonder (2010-06-22 14:10:01)

  • Unable to set a top-level property object

    Hey guys
    I've made a little sequence to fetch data from a XML file. In that XML file, there is some informations (entries) (IP addresses, port numbers, etc) about 4 different types of devices(sections are the devices names). The first section of the XML tells me the NAMES of the devices I have to configure. The type of each device is located in the entries of each device. Each device has its own information and I can have more than one device of a type. In teststand, I've created custom data types (containers with empty fields) for each type of device I need.
    I want to dynamically create the devices that the XML file tells me to configure as fileglobal variables and populate them with their own config informations (entries of the XML file). I'm creating new fileglobal of the type I want using PropertyObject step and I'm creating an alias of that fileglobal that I'm passing in parameter to a subsequence who's getting infos from XML. Here, everything is OK.
    The problem occurs when I want to configure 2 or more objects of the same type. At the SetProperty step (where i'm creating the fileglobal variable) teststand gives me the error:
    "Unable to set a top-level property object to another object. Error accessing item 'Parameters.DeviceToInitStruct'."
    Is there any ways to avoid that problem and creating to variable of the same type ?
    thanks

    Hi
    I finally got rid of that problem.
    Instead of using a PropertyObject.Clone step, I used a statement who's just copy the "MasterObject" into a "CloneObject" and i'm working with that copy. So the sequence can now create devices of the same type without any conflict with the first device.
    i'll post here a short example to show how i did... maybe it'll be useful for someone...
    regards

Maybe you are looking for