I have deployed the railo war file in a resin appserver and after deployment the jvm log shows
railo-server-root:/var/resin/webapps/railo-4.2.1.008/WEB-INF/lib/railo-server
===================================================================
SERVER CONTEXT
-------------------------------------------------------------------
- config:/var/resin/webapps/railo-4.2.1.008/WEB-INF/lib/railo-server/context
- loader-version:4.3
===================================================================
===================================================================
WEB CONTEXT (3ccbecdfdd85a2c229a64e875ca4821a)
-------------------------------------------------------------------
- config:/var/resin/webapps/railo-4.2.1.008/WEB-INF/railo
- webroot:/var/resin/webapps/railo-4.2.1.008/
- hash:3ccbecdfdd85a2c229a64e875ca4821a
- label:3ccbecdfdd85a2c229a64e875ca4821a
===================================================================
I can access a test index.cfm page kept at /var/resin/webapps/railo-4.2.1.008/index.cfm by calling
http://domain.com:8080/railo/index.cfm
But when I try to access http://domain.com:8080/railo/railo-context/admin/server.cfm or http://domain.com:8080/railo/railo-context/admin/web.cfm . It is loading a page with no css etc .
I also see the following error in the log
Wed Nov 19 02:15:51 EST 2014-311 class railo.runtime.instrumentation.Agent.getInstrumentation() is not returning a Instrumentation
static resource /railo-context/res/css/admin42.css.cfm was not found # /var/resin/webapps/railo-4.2.1.008/-context/res/css/admin42.css
static resource /railo-context/res/css/admin42.css.cfm was not found # /var/resin/webapps/railo-4.2.1.008/-context/res/css/admin42.css
static resource /railo-context/res/css/admin42.css.cfm was not found # /var/resin/webapps/railo-4.2.1.008/-context/res/css/admin42.css
What am I doing wrong
In your URL domain.com:8080/railo/railo-context/... is the first railo the context path? Basically, did you deploy a Railo war but not in the / context?
If so, you might need to modify the /railo-context/ virtual mapping in your railo-server.xml file to map to "/railo/railo-context/"
Also, check any rewrite rules set up.
Railo (not sure which version, but one of the 4.x ones) moved the admin resources (i.e. css, images) out of the same folder as the rest of the admin, meaning they're no longer in /railo-context/, and they now use paths like ../res/bar.css to load them.
Our fix was to add a proxy/rewrite for that other directory, too. For example:
ProxyPassMatch ^/my-secret-railo-location/admin/(.*)$ ajp://localhost:8009/railo-context/admin/$1
ProxyPassMatch ^/my-secret-railo-location/res/(.*)$ ajp://localhost:8009/railo-context/res/$1
Related
I have developed 3 web services ( jax-rs) using the Hyperion Java API's in 11.1.2.4
i. Logon
ii. Get Metadata
iii. Load data into HFM
All work in 11.1.2.4 environment. When testing them in the 11.2 environment I came across an issue with the the Standard Method loadData in the LoadExtractOM. In 11.1.2.4 my web service was able to scan and load the file into HFM and then return the log file of the errors. In 11.2 this is not the case. The LoadExtractOM.loadData only returns a log file with the start and end date of the scan and no errors. When I do a manual scan of the file in HFM the full scan log is returned. There's no HFMException messages and the load file is copied into the correct folder having been processed. Anybody have any ideas what the issue could be.
I checked the xfm application log xfm.odl.XXXXXXFM-1 and there seems to be an error in the parser
[2020-06-18T14:41:09.851832+00:00] [XFM] [ERROR:1] [EPMHFM-00000] [XFM] [ecid: 0000NB7s5pr3JByr04zW6F1UurLA000009] [File: c:\nsh00dph_build_view\hfm\source\session\xfmdata\cxfmdatafileparser.cpp] [Line: 233] [userId: ] [Msg arguments: ] [appName: XXXXXXFM] [pid: 7132] [tid: 9908] [host: WIN-V6SE6NGK443] [nwaddr: [fe80::1933:e8b7:9c66:f8e0%5]:0;[fe80::1851:3b40:ff89:4a96%6]:0;[fe80::3d62:44ba:7543:5157%2]:0;[2a04:3541:1000:500:1933:e8b7:9c66:f8e0]:0;169.254.248.224:0;94.237.48.41:0;10.2.2.89:0;] [errorCode: 0] [srcException: XfmExc] [errType: 1] [dbUpdate: 1] [11.2.1.0.000.5410]
Tomcat is running on the same system as Hyperion. This caused an issue for the web services as they were setting different System Environments for EPM_ORACLE_HOME and EPM_ORACLE_INSTANCE than the Hyperion system. Changed the System Environments in the Web Services and is all working now
I am trying out Stackify Prefix v3.0.18 to profile a Spring Boot application in WebLogic 12c. The JVM is started with the stackify-java-apm agent as per the instructions:
-javaagent:"C:\Program Files (x86)\StackifyPrefix\java\lib\stackify-java-apm.jar"
On accessing the Spring Boot Actuator's /health endpoint, I do not get anything reported in the Prefix dashboard at http://localhost:2012. Is anything amiss here?
A couple of observations were made; the Prefix agent was trying:
To load a properties file from a Linux/Unix path and failed to do so
16:16:24.826 [main] WARN com.stackify.apm.config.a - Unable to find properties file /usr/local/stackify/stackify-java-apm/stackify.properties
To write a file into a non-existent directory C:\Program Files (x86)\Stackify\stackify-java-apm\log\
I was unable to find an end-to-end demo or tutorial on setting up and using Prefix to profile a Java application.
I was looking on their support site and it seems that WebLogic 12c is not supported according to this link:
https://support.stackify.com/prefix-enable-java-profiling/
Have you tried submitting a ticket with them?
https://support.stackify.com/submit-a-ticket/
I have big problem to run activiti-explorer when i try access: http://localhost:8080/activiti-explorer/ tomcat shows me HTTP Status 404 - The requested resource is not available. I'm really don't have any idea why that dosen't work. Can you help me?
This what have I done on my PC:
I'm using 5.19.0 version of activiti-explorer
7.0.63 tomcat
JDK 1.8.0.77 (i think there is no point to downgrade java to previous versions (<=1.7) becouse my main application using this version)
I'm sure I have correctly configured environment variables (JAVA_HOME,JRE_HOME,PATH,CATALINA_HOME)
I configured data base connection (db.properties, context.xml) in activiti-explorer.war and i moved this file to tomcat/webapps
I don't have any errors about activiti during tomcat start
Check if activiti explorer is deployed to tomcat in manager.
http://{host}:{port}/manager/html
More info in https://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html
Check the catalina.out log. There will be something in there that leads you to the solution.
Check Admin Console (cmd that runs behind) after hitting the link. most recent exception occurred will be displayed there.
I installed dspace on my windows 7 machine and everything works fine.Even the admin account was created.But after deploying it on my tomcat it gives 404 error.I followed installation tutorial given on dspace website.Am I missing something.Please help
Did you follow the steps in deploying web applications? There are two techniques in having Tomcat serve up your web applications.
Below was taken from DSpace online documentation:
Technique A. Tell your Tomcat/Jetty/Resin installation where to find
your DSpace web application(s). As an example, in the directory
[tomcat]/conf/Catalina/localhost you could add files similar to the
following (but replace [dspace]with your installation location):
DEFINE A CONTEXT FOR DSpace XML User Interface: xmlui.xml
<?xml version='1.0'?>
<Context
docBase="[dspace]/webapps/xmlui"
debug="0"
reloadable="true"
cachingAllowed="false"/>
Technique B. Simple and complete. You copy only (or all) of the
DSpace Web application(s) you wish to use from the [dspace]/webapps
directory to the appropriate directory in your Tomcat/Jetty/Resin
installation. For example: cp -R [dspace]/webapps/* [tomcat]/webapps*
(This will copy all the web applications to Tomcat). cp -R
[dspace]/webapps/jspui [tomcat]/webapps* (This will copy only the
jspui web application to Tomcat.)
Also check your Tomcat logs for any errors.
what is your dspace version? im use 5.4
[dspace-source] mvn package
all success!
[dspace-source/dspace/target/dspace-installer]ant fresh_install
all success!
Init database[optional]
c:/dspace-installed/bin dspace-migrate
c:/dspace-installed/bin create-administrator
success!
copy all or the essentials[JSPUI,XMLUI,OAI,SOLR] app from [Dspace-installed/webapps] to tomcat-webapps
start tomcat.be happy!
I am following
Red5 Media Server - Workspace Setup Guide - r4737!
I am able to build Red5 distribution and rename distribution jar files i.e completed upto step 6.But when I followed step 7 - Run inside of eclipse failed to debug it as java application -
Red5 root: /home/yuvraj/Documents/RED5/red5 java code all/java/server/trunk
Configuation root: /home/yuvraj/Documents/RED5/red5 java code all/java/server/trunk/conf
Red5 server jar was not found, using fallback.
URL list: [file:/home/yuvraj/Documents/RED5/red5%20java%20code%20all/java/server/trunk/red5.jar]
Bootstrap exception: null
Bootstrap exit
java.lang.NullPointerException
at org.red5.classloading.ClassLoaderBuilder.build(ClassLoaderBuilder.java:172)
at org.red5.classloading.ClassLoaderBuilder.build(ClassLoaderBuilder.java:96)
at org.red5.server.Bootstrap.bootStrap(Bootstrap.java:117)
at org.red5.server.Bootstrap.main(Bootstrap.java:48)
I couldn't find conf directory neither in /home/yuvraj/Documents/RED5/red5 java code all/java/server/trunk/ nor in /Red5_server/bin while setting classpath in java debug.
If you followed step by step the guide, you are probably using the 1.0.2 RC4.
Try this now:
Extract the red5-server-1.0.2-RC4.zip from the target folder to a custom folder
(I have it in c:\red5-server-1.0.2-RC4 )
Copy red5.jar and bootstrap.jar in the place you extracted red5. (In my case c:\red5-server-1.0.2-RC4\ )
Repeat the step 7 in the Guide and be carefull at point L.
conf directory is in \red5-server-1.0.2-RC4\
From the output you've shown, I'd assume you're missing the lib directory and its contents. This wiki link should help: https://code.google.com/p/red5/wiki/ServerWontStart#Bootstrap_exception