Stackify Prefix for Java - java

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/

Related

Oracle EPM Hyperion 11.2 - Java API Class LoadExtractOM Method loadData not working

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

Wildfly option not avaliable for openshift v3

I am creating a project using openshift v3 but was not able to find the wildfly
option in my openshift web console anymore from today . Untill yesterday it is coming.
I am not able to find the same anymore
tried creating it through terminal like
oc new-app --name=netsetos08 wildfly~https://github.com/test/test.git
--> Found image 18929ed (2 weeks old) in image stream "openshift/wildfly" under tag "latest" for "wildfly"
WildFly 10.1.0.Final
--------------------
Platform for building and running JEE applications on WildFly 10.1.0.Final
Tags: builder, wildfly, wildfly10
* A source build using source code from https://github.com/sarthak0488/checkincode.git will be created
* The resulting image will be pushed to image stream "netsetos08:latest"
* Use 'start-build' to trigger a new build
* This image will be deployed in deployment config "netsetos08"
* Port 8080/tcp will be load balanced by service "netsetos08"
* Other containers can access this service through the hostname "netsetos08"
--> Creating resources ...
error: User "test#test.com" cannot create imagestreams.image.openshift.io in project "default"
error: User "test#test.com" cannot create buildconfigs.build.openshift.io in project "default"
error: User "test#test.com" cannot create deploymentconfigs.apps.openshift.io in project "default"
error: User "test#test.com" cannot create services in project "default"
--> Failed
Not able to proceed by above also
This is a known issue which is resolved.After some time options come back in the web console
but command line is working as usual fine
oc new-app
It is fixed now

Activiti Explorer - Request resource is not available

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.

Connect Eclipse to Websphere Liberty in another computer

I had installed Websphere Liberty Runtime in a Windows 7 machine following the instructions here :
https://developer.ibm.com/wasdev/downloads/liberty-profile-using-non-eclipse-environments/
I had installed and configured the admin-center feature following these instructions :
http://www-01.ibm.com/support/knowledgecenter/SSD28V_8.5.5/com.ibm.websphere.wlp.core.doc/ae/twlp_ui_setup.html
I set two users : admin and nonadmin
I am able to connect to this server from Eclipse in another computer.
However, each time i try to deploy an application on this server, i get this error in the computer with Eclipse :
Publish HelloWorldApplication
OK
Failed to transfer application HelloWorldApplication
CWWKX0121E: Access denied to path C:/wlp/usr/servers/servername/apps/HelloWorldApplication.war.
Failed to synchronize server configuration.
CWWKX0121E: Access denied to path C:/wlp/usr/servers/servername/server.xml.
Deployment of application HelloWorldApplication failed.
And, in the server i got this :
[ERROR ] CWWKX7901E: The C:/wlp/usr/servers/servername/apps/HelloWorldApplication.war file system path is not valid.
Can anyone help me, please ?
We are more than one developer needing to work on this server.
Thanks in advance.
SJRM
How do you have your server.xml configured? Given the error you mention, I think it's missing the configuration for writing into the remote directories, which looks something like this:
<remoteFileAccess>
<writeDir>${writePath}</writeDir>
</remoteFileAccess>
You can define several write directories and each one can refer to variables or absolute paths, for example:
<remoteFileAccess>
<writeDir>${wlp.user.dir}</writeDir>
</remoteFileAccess>
You can obtain the basic configuration for remote administration by executing this command on you Liberty profile bin directory:
configUtility install remoteAdministration
For reference see:
http://www-01.ibm.com/support/knowledgecenter/SSEQTP_8.5.5/com.ibm.websphere.wlp.doc/ae/t_creating_remote_server.html?cp=SSEQTP_8.5.5%2F1-3-11-0-2-3 for setting up a remote server,
http://www-01.ibm.com/support/knowledgecenter/SSEQTP_8.5.5/com.ibm.websphere.wlp.doc/ae/rwlp_command_configutil.html%23rwlp_command_configutil?cp=SSEQTP_8.5.5%2F1-3-11-0-3-2-1-1&lang=en for reading about the configUtility and
http://www-01.ibm.com/support/knowledgecenter/SSEQTP_8.5.5/com.ibm.websphere.wlp.doc/ae/rwlp_dirs.html?cp=SSEQTP_8.5.5%2F1-3-11-0-2-0&lang=en for a list of Liberty profile properties and their corresponding directories.

FileNotFoundException while running SolrCloud on Tomcat

I have a Solr 4.2.0 server which is running under the Tomcat 7.0 container. I'm trying to wire it with my external zookeeper (actually, it doesn't work with the embdedded zookeeper too).
I tried this java opts:
-Dbootstrap_confdir=./solr/collection1/conf
-Dcollection.configName=myconf
-DzkRun
-DnumShards=2
for running the embedded zookeeper.
And also this java opts:
-Dbootstrap_confdir=./solr/collection1/conf
-Dcollection.configName=myconf
-DzkHost=localhost:2181
-DnumShards=2
For connecting to external zookeeper
In both cases I continue to get the same exception:
java.io.FileNotFoundException: File '.\solr\collection1\conf \admin-extra.html' does not exist
But the problem is that file admin-extra.html exists and it's right here. And I can't figure out what the problem is.
From your exception it seems your path has a white space after the config directory.
Try to define your bootstrap_configdir between "", like:
-Dbootstrap_confdir="./solr/collection1/conf"

Categories

Resources