This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
www/ ← web root directory | |
└── nette-blog/ | |
├── app/ ← application directory | |
│ ├── config/ ← configuration files | |
│ ├── forms/ ← form classes | |
│ ├── model/ ← model layer classes | |
│ ├── presenters/ ← presenter classes | |
│ │ └── templates/← templates | |
│ ├── router/ ← configuration of URL addresses | |
│ └── bootstrap.php ← boot file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
09:17:08,351 INFO [stdout] (Thread-55 (HornetQ-client-global-threads-2103478821)) Thread-55 (HornetQ-client-global-threads-2103478821) async1 | |
09:17:08,352 INFO [stdout] (Thread-55 (HornetQ-client-global-threads-2103478821)) Thread-55 (HornetQ-client-global-threads-2103478821) sync | |
09:17:08,378 INFO [stdout] (Thread-53 (HornetQ-client-global-threads-2103478821)) Thread-53 (HornetQ-client-global-threads-2103478821) async2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash-3.2$ pwd | |
/home/stud/riganmic/www-wa1/radar3/temp | |
bash-3.2$ chmod -R 777 cache/ | |
chmod: WARNING: can't change cache//_Nette.Database.Structure.54a830bdac33841738e44af00549b3a3 | |
chmod: WARNING: can't change cache//latte/app-presenters-templates-Homepage-default-latte-Templatea9eaf97eac06c6ce09b0a4bceb41900a.php.lock | |
chmod: WARNING: can't change cache//latte/VisualPaginator-Components-template-default-latte-Templateb603c55ef50f13a7701dd94950967754.php | |
chmod: WARNING: can't change cache//latte/VisualPaginator-Components-template-default-latte-Templateb603c55ef50f13a7701dd94950967754.php.lock | |
chmod: WARNING: can't change cache//latte/radar3-app-presenters-templates-Sign-in-latte-Template79c5f3c09ac07ccb228516987da5f59e.php | |
chmod: WARNING: can't change cache//latte/radar3-app-presenters-templates-layout-latte-Template05d454c345 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash-3.2$ ll | |
total 2373 | |
drwxrwxrwx 10 riganmic apache-db 16 Jan 18 00:10 . | |
drwxrws--- 11 riganmic apache-db 18 Jan 17 23:54 .. | |
-rwxrwxrwx 1 riganmic apache-db 86 Dec 2 16:52 .gitignore | |
drwxrwxrwx 9 riganmic apache-db 12 Jan 17 23:31 app | |
drwxrwxrwx 2 riganmic apache-db 3 Jan 17 23:31 bin | |
-rwxrwxrwx 1 riganmic apache-db 1060 Jan 17 17:36 composer.json | |
-rwxrwxrwx 1 riganmic apache-db 137534 Jan 17 17:41 composer.lock | |
drwxrwxrwx 34 riganmic apache-db 36 Jan 17 23:32 doc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash-3.2$ cd www-wa1 | |
bash-3.2$ \rm -rf radar/ | |
rm: Unable to remove directory radar//temp/cache/latte: File exists | |
rm: Unable to remove directory radar//temp/cache/Nette.Configurator: File exists | |
rm: Unable to remove directory radar//temp/cache/_Nette.Database.54a830bdac33841738e44af00549b3a3: File exists | |
rm: Unable to remove directory radar//temp/cache/_Nette.RobotLoader: File exists | |
rm: Unable to remove directory radar//temp/cache/_Nette.Database.Structure.54a830bdac33841738e44af00549b3a3: File exists | |
rm: Unable to remove directory radar//temp/cache: File exists | |
rm: Unable to remove directory radar//temp: File exists | |
rm: Unable to remove directory radar/: File exists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
08:29:03,971 ERROR [stderr] (http-/127.0.0.1:8080-4) java.io.IOException: The entity name must immediately follow the '&' in the entity reference. | |
08:29:03,971 ERROR [stderr] (http-/127.0.0.1:8080-4) at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source) | |
08:29:03,971 ERROR [stderr] (http-/127.0.0.1:8080-4) at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source) | |
08:29:03,971 ERROR [stderr] (http-/127.0.0.1:8080-4) at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source) | |
08:29:03,971 ERROR [stderr] (http-/127.0.0.1:8080-4) at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source) | |
08:29:03,971 ERROR [stderr] (http-/127.0.0.1:8080-4) at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source) | |
08:29:03,971 ERROR [stderr] (http-/127.0.0.1:8080-4) at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source) | |
08:29:03,972 ERROR [stderr] (http-/127.0.0.1:8080-4) at org.jbpm.designer. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package jBPM6DeploymentServiceExample; | |
import java.io.File; | |
import java.io.FilenameFilter; | |
import javax.persistence.EntityManagerFactory; | |
import org.jbpm.kie.services.impl.KModuleDeploymentService; | |
import org.jbpm.kie.services.impl.ProcessServiceImpl; | |
import org.jbpm.kie.services.impl.RuntimeDataServiceImpl; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16:24:57,643 DEBUG [org.jboss.errai.bus.server.io.AbstractRPCMethodCallback] (http-localhost/127.0.0.1:8080-6) RPC endpoint threw exception:: java.lang.NullPointerException | |
at org.jbpm.console.ng.pr.backend.server.ProcessInstanceHelper.adapt(ProcessInstanceHelper.java:41) [jbpm-console-ng-process-runtime-backend-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5] | |
at org.jbpm.console.ng.bd.backend.server.DataServiceEntryPointImpl.getProcessInstanceById(DataServiceEntryPointImpl.java:103) [jbpm-console-ng-business-domain-backend-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5] | |
at org.jbpm.console.ng.bd.backend.server.DataServiceEntryPointImpl.getBusinessLogs(DataServiceEntryPointImpl.java:230) [jbpm-console-ng-business-domain-backend-6.3.0.Final-redhat-5.jar:6.3.0.Final-redhat-5] | |
at org.jbpm.console.ng.bd.backend.server.DataServiceEntryPointImpl$Proxy$_$$_WeldClientProxy.getBusinessLogs(DataServiceEntryPointImpl$Proxy$_$$_WeldClientProxy.java) [jbpm-console-ng-business-domain-backend-6.3.0.Final-redhat-5.jar:6.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<bean id="runtimeEnvironment" | |
class="org.kie.spring.factorybeans.RuntimeEnvironmentFactoryBean"> | |
<property name="type" value="DEFAULT" /> | |
<property name="entityManagerFactory" ref="jbpmEMF" /> | |
<property name="entityManager" ref="jbpmEM" /> | |
<property name="transactionManager" ref="jbpmTxManager" /> | |
<property name="assets" ref="assets" /> | |
<property name="environmentEntries" ref="env" /> | |
</bean> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public JPAService(Environment env, String peristenceUnitName) { | |
EntityManagerFactory emf = (EntityManagerFactory) env.get(EnvironmentName.ENTITY_MANAGER_FACTORY); | |
if (emf != null) { | |
if (((String) env.get(EnvironmentName.USE_LOCAL_TRANSACTIONS)).equals("true")) { | |
persistenceStrategy = new StandaloneLocalStrategy(emf); | |
} else { | |
persistenceStrategy = new StandaloneJtaStrategy(emf); | |
} | |
} else { |