Java App Servers

Java application servers that support the Java EE platform and features include JOnAS from Object Web, WildFly (formerly JBoss AS) from JBoss, Geronimo from Apache, TomEE from Apache, Resin Java Application Server from Caucho Technology, Blazix from Desiderata Software, Enhydra Server from Enhydra.org, and GlassFish from Oracle. Commercial Java app servers include WebLogic by Oracle, WebSphere from IBM and the open source JBoss Enterprise Application Platform (JBoss EAP) by Red Hat.

Share tech news, updates, or what's on your mind.

Sign up to Post

I am trying to load some .cer files in to a java .keystore file, using the keytool command. For one of the .cer file, I am expecting to import it as a PrivateKeyEntry. However, the result of "keytool -list" command shows that all certificate are imported as trustedCertEntry.

In the "keytool -importcert" command I toggled off the -trustcacerts (idea from https://stackoverflow.com/questions/24974324/import-certificate-as-privatekeyentry ), but it didn't make a difference on the result for me.

Can you help me on clarifying these questions:
1. can "keytool -importcert" import PrivateKeyEntry into the .keystore file?
2. Is the type (PrivateKeyEntry/trustedCertEntry) of the imported certificates in .keystore decided by the way of importing? or by the .cer file itself?
3. If decided by the way of importing, how to do that?
4. If by the .cer file itself, how to check which type it is?

Thank you!
0
Angular Fundamentals
LVL 13
Angular Fundamentals

Learn the fundamentals of Angular 2, a JavaScript framework for developing dynamic single page applications.

I am getting wait time exhaust on one of our application:

               676196564 [debugLogger] 07-FEB-2019 7:45->Starts Rating Service
676375395 [debugLogger] 07-FEB-2019 7:48->End Rating Service
676375395 07-FEB-2019 7:48->Policy ID : 2005340-com.ing.canada.cl.rating.exception.ServiceException: java.lang.Exception: com.ing.canada.il.messaging.exceptions.ILQueueManagerError: Unable to find a connection : [b]waittime exhausted[/b]
676375395 [debugLogger] 07-FEB-2019 7:48->Start of setIncompleteRenewalInClpss(), policyid=2005340

1.  ILGeneralManagerPool.properties is :
poolManager.logfile : F:/SimbaJobs/log/ILConnectionManager.log
poolManager.logLevel : 7

#default pool configuration
queueManagerName : MQP2
hostname :  10.177.96.11
port : 1416
channel : CLIENT.TO.MQP2
userID :  
password :  
clientConnection : true
logfile : F:/SimbaJobs/log/ILdefault.log
connectionRetry : 6
MaxPoolSize : 50
logLevel : 7
PreLoadedCon : 10
tracePerformance : false

Open in new window

-----------------------
Few questions.
1. how do I find out what version of MQ Client I have installed on my machine?
2. Do I need to upgrade the MQ Client?
0
hi am having this error when starting intergrated weblogic in 12.2.1.3.0 in window 7 64 bit

[Waiting for the domain to finish building...]
[06:34:01 PM] IntegratedWebLogicServer Domain is invalid.  Regenerating it...
[06:34:05 PM] Creating IntegratedWebLogicServer Domain...
[06:35:28 PM] ERROR:  An error occurred while building the default domain.
Please see this log file for more details:
C:\Users\rdp\AppData\Roaming\JDeveloper\system12.2.1.3.42.170820.0914\o.j2ee.adrs\BuildDefaultDomain.log
The Server Instance cannot be started because the IntegratedWebLogicServer Domain was not built successfully.

Adding environment variable to WLST script USER_MEM_ARGS = -Xms32m -Xmx1024m -XX:MaxPermSize=384m
Log File:      C:\Users\rdp\AppData\Roaming\JDeveloper\system12.2.1.3.42.170820.0914\o.j2ee.adrs\BuildDefaultDomain.log
Label:         JDEVADF_12.2.1.PATCHSETS_GENERIC_170820.0914.S
Product Home:  C:\jdeveloper12\jdeveloper\jdev\
Domain:        C:\Users\rdp\AppData\Roaming\JDeveloper\system12.2.1.3.42.170820.0914\DefaultDomain

BuildDefaultDomain1.py      2018-12-20 18:34:05

cmd.exe /c ""C:\jdeveloper12\oracle_common\common\bin\wlst.cmd" "C:\Users\rdp\AppData\Roaming\JDeveloper\system12.2.1.3.42.170820.0914\o.j2ee.adrs\BuildDefaultDomain1.py""
Process started
wlst > Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
wlst > 
wlst > Initializing WebLogic Scripting Tool (WLST) ...
wlst > 
wlst > WARNING: An …
0
Hello,

We are facing issues of transaction declines on our Application Server. After running netstat -ano it is observed that there are many entries find out with "Time_Wait" status. This server has Apache, Java Middleware, Switch & ActiveMQ components installed on it. The transactions are high in volume approximately 2.5 million per day.

We want to know any parameters needs to be checked on registry or in Application to troubleshoot this issue.

Regards
Gurunath
0
WildFly Full 12.0.0.Final (WildFly Core 4.0.0.Final) - java.lang.OutOfMemoryError: Java heap space Error and crashes.

OS: Centos 7
Java: JDK 8

Problem: Everyday in peak hours, server is stop responding. Getting HEAP error.

JVM OPTS used:
-server -XX:+DoEscapeAnalysis -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC -XX:+ExplicitGCInvokesConcurrent -XX:CMSInitiatingOccupancyFraction=80 -XX:CMSIncrementalSafetyFactor=20 -XX:+UseCMSInitiatingOccupancyOnly -verbose:gc -Xloggc:gc.log.`date +%Y%m%d%H%M%S` -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCApplicationStoppedTime -XX:+UseCompressedOops -XX:+UseCompressedClassPointers -XX:CompressedClassSpaceSize=2048M -XX:MetaspaceSize=2048M -XX:MaxMetaspaceSize=2048M -Xmx16G -Xms16G  -Djava.net.preferIPv4Stack=true

Open in new window


Exception:
2018-11-26 09:05:35,740 ERROR [org.jboss.threads.errors] (default task-41) Thread Thread[default task-41,5,main] threw an uncaught exception: java.lang.OutOfMemoryError: Java heap space

2018-11-26 09:08:10,951 ERROR [org.jboss.threads.errors] (default task-12) Thread Thread[default task-12,5,main] threw an uncaught exception: java.lang.OutOfMemoryError: Java heap space

2018-11-26 09:04:21,639 ERROR [org.jboss.threads.errors] (default task-4) Thread Thread[default task-4,5,main] threw an uncaught exception: java.lang.OutOfMemoryError: Java heap space

2018-11-26 09:08:10,950 ERROR [org.jboss.threads.errors] (default task-30) Thread 

Open in new window

0
How to read real-time cancel appointment in the calendar using Exchanged server managed API
Getting below error:
microsoft.exchange.webservices.data.core.exception.service.remote.ServiceResponseException: The specified object was not found in the store.
        at microsoft.exchange.webservices.data.core.response.ServiceResponse.internalThrowIfNecessary(ServiceResponse.java:278)
        at microsoft.exchange.webservices.data.core.response.ServiceResponse.throwIfNecessary(ServiceResponse.java:267)
        at microsoft.exchange.webservices.data.core.request.MultiResponseServiceRequest.execute(MultiResponseServiceRequest.java:165)
        at microsoft.exchange.webservices.data.core.ExchangeService.internalBindToItems(ExchangeService.java:1343)
        at microsoft.exchange.webservices.data.core.ExchangeService.bindToItem(ExchangeService.java:1378)
        at microsoft.exchange.webservices.data.core.ExchangeService.bindToItem(ExchangeService.java:1395)
        at microsoft.exchange.webservices.data.core.service.item.Appointment.bind(Appointment.java:118)
        at microsoft.exchange.webservices.data.core.service.item.Appointment.bind(Appointment.java:133)
        at com.docasap.ihub.exchangeserverengine.handler.e2d.StreamingAppointmentsHandler.notificationEventDelegate(StreamingAppointmentsHandler.java:96)
        at microsoft.exchange.webservices.data.notification.StreamingSubscriptionConnection.issueNotificationEvents(StreamingSubscriptionConnection.java:524)
    …
0
Hi All,

How to copy some rows of data from excel sheet to new excel sheet in mac using java and if possible throw mail with the attachment of new excel sheet?

Note: Mac office 2011

 Thanks.
0
Hi all,

I have problem to display my PDF file in an existing popup window using spring framework. The workflow is when I click a button from the main page, it popups a new window (child) and showing progress status. After the file finished generating, I set the view in controller and return to jsp. However, the PDF file displays (using DefaultResourceLoader and response.flushBuffer) in the main page instead of the popup window. I want to show in popup. Anything wrong? How can I specify which window the PDF should be displayed?

Please help. Thanks.
0
how to configure SSL for JBOSS EAP 7.1 in domain.xml
0
Hi Expert,

I'm getting below Oracle Web-logic application error could anybody please guide me how to fix it!

subsystem is initializing on Server WebWORKS6.>
####<Aug 2, 2018 1:09:38 PM GMT> <Info> <Store> <trpridrps1app6> <WebWORKS6> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1533215378092> <BEA-280008> <Opening the persistent file store "WLS_DIAGNOSTICS" for recovery: directory=D:\Manu\IDRPPSA\srvr6\config\JDADomain\servers\WebWORKS6\data\store\diagnostics requestedWritePolicy="Disabled" fileLockingEnabled=true driver="wlfileio3".>
####<Aug 2, 2018 1:09:38 PM GMT> <Critical> <WebLogicServer> <trpridrps1app6> <WebWORKS6> <Main Thread> <<WLS Kernel>> <> <> <1533215378108> <BEA-000386> <Server subsystem failed. Reason: java.lang.NullPointerException
java.lang.NullPointerException
       at weblogic.store.io.file.StoreFile.close(StoreFile.java:440)
       at weblogic.store.io.file.Heap.open(Heap.java:320)
       at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:104)
       at weblogic.store.internal.PersistentStoreImpl.recoverStoreConnections(PersistentStoreImpl.java:431)
       at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:422)
       at weblogic.store.xa.PersistentStoreManagerXA.createFileStore(PersistentStoreManagerXA.java:117)
       at weblogic.diagnostics.archive.DiagnosticStoreRepository.getStore(DiagnosticStoreRepository.java:91)
       at …
0
PMI ACP® Project Management
LVL 13
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

Hi,

I need to get the values of attributes of VMM config for WebSphere Application Server 8.5.5 ND cells. Looking in the wimconfig.xml file, I can see the attributes/values needed, but no corresponding config types/IDs. The attributes don't map to AdminConfig object types, so the showAttribute command can't be used.

For example:

    <config:repositories xsi:type="config:FileRepositoryType" adapterClassName="com.ibm.ws.wim.adapter.file.was.FileAdapter" id="InternalFileRepository" supportPaging="false" messageDigestAlgorithm="SHA-1">
       <config:baseEntries name="o=defaultWIMFileBasedRealm"/>
     </config:repositories>
     <config:repositories xsi:type="config:LdapRepositoryType" adapterClassName="com.ibm.ws.wim.adapter.ldap.LdapAdapter" id="USER_REPO" isExtIdUnique="true" supportAsyncMode="false" supportExternalName="false" supportPaging="false" supportSorting="false" supportTransactions="false" supportChangeLog="none" certificateFilter="" certificateMapMode="exactdn" ldapServerType="AD" translateRDN="false">
       <config:baseEntries name="o=USER_REPOAA" nameInRepository="DC=example,DC=domain,DC=com"/>
       <config:loginProperties>uid</config:loginProperties>
       <config:ldapServerConfiguration primaryServerQueryTimeInterval="15" returnToPrimaryServer="true" sslConfiguration="CellDefaultSSLSettings">
         <config:ldapServers authentication="simple" bindDN="CN=BIND001, OU=Bind Accounts, OU=Admin Accounts, OU=Middleware, DC=example, DC=domain, …
0
I am getting
HTTP Status 404 - /host-manager/html

type Status report

message /host-manager/html

description The requested resource is not available.
Apache Tomcat/8.0.32 (Ubuntu)

error while handling apache tomcat
0
How to Disable OPTIONS Method in GlassFish 3.1 or Payara 4.1.1.171.1.  while scaning the project, acunetix give the vulnerabilities. Issue is : OPTIONS method is enabled. i'm not tried any solution previously. what is the problem if OPTIONS method is enabled.
0
How to Disable OPTIONS Method in GlassFish 3.1 or Payara 4.1.1.171.1
0
Can an application use a JDBC driver that can contain the IP to both a primary and Standby instnace, so that the client can switch to standby if the primary IP is no longer reachable.

Or is there some other way an application can perform this

We are using an Oracle DB (Data Guard, primary and standby), but I am asking this from a client application failover to the correct DB instance, as opposed to a db failover
0
i Experts,
Can we bind the Jboss management bind address to multiple IP?
0
hi am having this error when starting node manager in window
my java version is
C:\Users\rdp>java -version
Picked up JAVA_TOOL_OPTIONS: -Djava.vendor="Sun Microsystems Inc."
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) Client VM (build 20.45-b01, mixed mode, sharing)
javaerror23.txt
0
hi am having this error when starting my orcle form in 11gR2
errorin form
0
hi am having error when starting report server in linux
[2018-01-30T18:42:44.901+02:00] [reports] [NOTIFICATION] [] [oracle.reports.server] [host: hostname.com] [nwaddr: 000.001.002.003] [tid: 10] [ecid: 0000M57wkSa7Y7YFLrnJ8A1QSA24000001,0] [TARGET: /Farm_FRDomain/asinst/RptSvr_oel7_asinst] [TARGET_TYPE: oracle_repserv] ServerConfig:logConf  Reading server config file /ora01/app/oracle/product/fmw11g/asinst_1/config/ReportsServerComponent/RptSvr_oel7_asinst/rwserver.conf
[2018-01-30T18:42:44.903+02:00] [reports] [NOTIFICATION] [] [oracle.reports.server] [host: hostname.com] [nwaddr: 000.001.002.003] [tid: 10] [ecid: 0000M57wkSa7Y7YFLrnJ8A1QSA24000001,0] [TARGET: /Farm_FRDomain/asinst/RptSvr_oel7_asinst] [TARGET_TYPE: oracle_repserv] ServerConfig:logConf  <server version="11.1.2" xmlns="http://xmlns.oracle.com/reports/server">[[
   <cache class="oracle.reports.cache.RWCache">
      <property name="cacheSize" value="50"/>
      <!--property name="cacheDir" value="your cache directory"/-->
      <!--property name="maxCacheFileNumber" value="max number of cache files"/-->
   </cache>
   <!--Please do not change the id for reports engine.-->
   <!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->
   <engine id="rwEng" class="oracle.reports.engine.EngineImpl" maxEngine="1" minEngine="1" engLife="50">
      <!--property name="sourceDir" value="your reports source directory"/-->
      <!--property name="tempDir" value="your…
0
OWASP Proactive Controls
LVL 13
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

hi am having the following error when starting my nodemanager
'JAVA_OPTIONS' is not recognized as an internal or external command,
operable program or batch file.

C:\Oracle\Middleware\wlserver_10.3\server\bin>set CLASSPATH=.;C:\Oracle\MIDDLE~1
\patch_wls1036\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Ora
cle\MIDDLE~1\patch_ocp371\profiles\default\sys_manifest_classpath\weblogic_patch
.jar;C:\javajdk\JDK17~1.0_7\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\l
ib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Orac
le\MIDDLE~1\modules\features\weblogic.server.modules_10.3.6.0.jar;C:\Oracle\MIDD
LE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1
/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;

C:\Oracle\Middleware\wlserver_10.3\server\bin>if not "" == "" set CLASSPATH=;.;C
:\Oracle\MIDDLE~1\patch_wls1036\profiles\default\sys_manifest_classpath\weblogic
_patch.jar;C:\Oracle\MIDDLE~1\patch_ocp371\profiles\default\sys_manifest_classpa
th\weblogic_patch.jar;C:\javajdk\JDK17~1.0_7\lib\tools.jar;C:\Oracle\MIDDLE~1\WL
SERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\web
logic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.6.0.j
ar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\m
odules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/an
t-contrib.jar;

0
hi am having this error when trying to install my java jdk am in window 7
javaerror12.PNG
0
can a jboss domain identify one of its instance is down and will it try to restart it if it is down?.

similar to NodeManager in Weblogic.
0
When I try and review footage it says No Data. Footage is there live but not allowing me to review footage but has worked previously?
0
I am using Active MQ 5.13.1 and Master/Slave Active MQ topology configured.
Initially slave node was getting stopped when database switch happens. Got an advice to go with lease-database-locker.
But I see an issue after implementing lease-database-locker.
Issue: with new configurations, messages are piling up when we switch ActiveMQ nodes.
observations:
1. messages are getting accumulated in one particular queue only and dispatched queue section has pending messages.
2. not observed issues with other queues
3. tried with queuePrefetch = 1, but still observed pending messages in dispatch queue. Consumers were not processing msgs.
0
Grab-Order---Go-Mobile-App---EXUT-Mo.pngEXUT is the most innovative 'grab order and go' mobile app that facilitates fast and easy buying and selling of many products. For merchants, it draws customers who happen to be in the neighborhood to buy online products and pickup in store. The app is free to download from the App Store and Play Store!
Sp can anyone tell us, how to use EXUT App?
0

Java App Servers

Java application servers that support the Java EE platform and features include JOnAS from Object Web, WildFly (formerly JBoss AS) from JBoss, Geronimo from Apache, TomEE from Apache, Resin Java Application Server from Caucho Technology, Blazix from Desiderata Software, Enhydra Server from Enhydra.org, and GlassFish from Oracle. Commercial Java app servers include WebLogic by Oracle, WebSphere from IBM and the open source JBoss Enterprise Application Platform (JBoss EAP) by Red Hat.

Top Experts In
Java App Servers
<
Monthly
>