unable to start jboss: java.lang.IllegalStateException: Incompletely deployed

If you encounter this error message while starting the JBoss AS server you just need to make a small change in the profile.xml file.

java.lang.IllegalStateException: Incompletely deployed:

open server\default\conf\bootstrap\profile.xml, look for where “AttachmentStore” is defined and change the parameter to <constructor><parameter class=”java.io.File”>/

or just replace the entire line as follows

<bean name=”AttachmentStore” class=”org.jboss.system.server.profileservice.repository.AbstractAttachmentStore”>
<constructor>><parameter class=”java.io.File”><inject bean=”BootstrapProfileFactory” property=”attachmentStoreRoot” /></parameter></constructor>

Then try to run the run.sh file again and you can see JBOSS server starting successfully.

Source: https://issues.jboss.org/browse/JBAS-6981

 

Python SyntaxError: invalid syntax end=”

If you faced this error, it seems you are using Python 2.x, not Python 3.x.

Check your python version:

In Python 3.x, it should not raise Syntax Error:

In Python 3.x print is an actual function, so it takes keyword arguments, too.

Use the below module to use it is Python 2.x

This allows you to use the Python 3.0 style print function without having to hand-edit all occurrences of print :)

NOTE:  end is a newline by default, end='' makes print() function do not print additional newline