Menu

Start process

2012-12-17
2013-03-11
  • Dmitry Blau

    Dmitry Blau - 2012-12-17

    I managed to get as far as almost end of first course (Fig. 38) (as for previous problem - I dealt with it by using external editor).
    But there again I have a problem. While logged in as Professor I go to "Start process" but don't see anything there. I try to "deploy" but don't have a "script" there etc. But when I am logged in as Administrator I see all this and can start my process which I created in gpd. Then when I start it as Administrator, I log in as Student and see new task there. I click on "Acquire a task" and get error:
    Task Получить задание does not exist
    What's wrong?

    BTW I started to receive an error in Server logs:

    21:05:58,178 INFO   Trying to reconnect to JMS provider for MessageService
    21:05:58,179 ERROR  Reconnect failed: JMS provider failure detected for MessageService
    javax.naming.NameNotFoundException: XAConnectionFactory not bound
    at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
    at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
    at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
    at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
    at javax.naming.InitialContext.lookup(InitialContext.java:409)
    at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:182)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
    at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:188)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:615)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl$ExceptionListenerRunnable.run(JMSContainerInvoker.java:1533)

     
  • Dofs

    Dofs - 2012-12-17

    Seems like another installer issue.
    In ${jboss}/default/deploy/jboss-web.deployer/server.xml attribute URIEncoding should be defined and have value UTF-8 (in element <Connector port="8080" …).

    NameNotFoundException: XAConnectionFactory not bound
    See comment on post https://sourceforge.net/projects/runawfe/forums/forum/426099/topic/6486977
    But this will be affect process execution only in message nodes.

     
  • Dmitry Blau

    Dmitry Blau - 2012-12-18

    I don't have this property there:

        <Connector port="8080" address="${jboss.bind.address}"
             maxThreads="250" maxHttpHeaderSize="8192"
             emptySessionPath="true" protocol="HTTP/1.1"
             enableLookups="false" redirectPort="8443" acceptCount="100"
             connectionTimeout="20000" disableUploadTimeout="true" />

    If I try to include it there, nothing changes.

     
  • Dofs

    Dofs - 2012-12-18

    As a workaround you can name tasks in english.

    Check config again, mine is:
    <Connector port="8080" address="${jboss.bind.address}" maxThreads="500" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="UTF-8"/>

     
  • Dofs

    Dofs - 2012-12-19

    URL seems good.
    That's problem in server side.
    Try to set parameter to JVM (in run.sh)
    -Dfile.encoding=UTF-8

     
  • Dmitry Blau

    Dmitry Blau - 2012-12-19

    Added options like this: JAVA_OPTS="-Dprogram.name=$PROGNAME $JAVA_OPTS -Dfile.encoding=UTF-8"
    Still not working:(

     

Log in to post a comment.