Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x

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

Hello all,

Currently, i am using smb server but now I want to change it into afp server.

what will be the exact way to change it and connect using afp server?

currently these library are used in the project:
import jcifs.smb.NtlmPasswordAuthentication;
import jcifs.smb.SmbFile;


Thanks in advance.

Regards
Amzad
1
Concerto Cloud for Software Providers & ISVs
LVL 5
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Does some sort of it security baseline / hardening / security best practice document/check list for Jetty already exist?

If so where can it be found?
0
I am using Active MQ 5.13.1 and Master/Slave Active MQ topology configured.
Slave node is getting stopped when database switch happens.

<-- Wrapper Stopped

Tried following auto reconnect configuration, from activemq.xml but no luck

     <persistenceAdapter>
                   			
    			<jdbcPersistenceAdapter dataDirectory="activemq-data" dataSource="#mssql-ds" lockKeepAlivePeriod="5000" > 
    				<locker>
    					<database-locker lockAcquireSleepInterval="30000" />
    				</locker>
    			</jdbcPersistenceAdapter>
    		</persistenceAdapter>

Open in new window

0
tomcat wont start in debug

where as tomcat is staring fine in regular mode.

i increased time out from 45 to 450 still similar error.

Server Tomcat v8.0 Server at localhost was unable to start within 450 seconds. If the server requires more time, try increasing the timeout in the server editor.
i wonder why server starts in regular mode but takes forever to start in debug mode.

regular startup happens in 10 seconds asap.

Aug 14, 2017 5:40:21 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:wsdlfirstws' did not find a matching property.
Aug 14, 2017 5:40:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version:        Apache Tomcat/8.0.39
Aug 14, 2017 5:40:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built:          Nov 9 2016 08:48:39 UTC
Aug 14, 2017 5:40:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number:         8.0.39.0
Aug 14, 2017 5:40:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name:               Windows 10
Aug 14, 2017 5:40:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version:            10.0
Aug 14, 2017 5:40:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture:          amd64
Aug 14, 2017 5:40:21 PM org.apache.catalina.startup.VersionLoggerListener log…
0
padserver/padErr.txt

==> /usr/local/pad/padserver/padOut.txt <==

---- java.library.path   ../lib/dll;/usr/local/pad\lib\dll\sys32

---- java.ext.dirs   /usr/java/jdk1.7.0_79/jre/lib/ext:/usr/local/pad/lib/ext



 checkFileInPath jspWin.dll   exists false

 checkFileInPath x25lyra.dll   exists false




==> /usr/local/pad/padserver/padErr.txt <==

java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space


Hi Experts

we get above Java heap space error on our servers due to this we face other issues on server. kindly help.
0
What does the "Wrap JDBC Objects " mean in GlassFish under Navigate to JDBC -> Connection Pools -> Derby Pool In the advanced tab ? When should it be enabled  ?

Thx
0
Hi,

In eclipse i have TestWeb project with bunch of jsp and html files in eclipse. I right clicked on it and copied. Then i pasted then eclipse asked name TestWeb2 ok? i said yes. I created TestWeb2. Now when i try to run TestWeb 2 tomcat9 complains

Could not publish server configuration for Tomcat v9.0 Server at localhost.
Multiple Contexts have a path of "/TestWeb".

how to change the context name or path so that i can run TestWeb2 project as well in tomcat ?
please advise
0
Hi,

I have existing project zip file(say ProjectOld.zip) which i imported to eclipse.
when i tried to add that to tomcat server from eclipise i am getting error as attached like tomcat 7 support only java ee 5,6 web module. why i get this error. How to resolve it.
when i added to Redhat EAP server 7 it aded sucesfully. I am able to go to login page. when i try to login i get eror in console like below

09:33:31,654 ERROR [stderr] (default task-2) java.lang.ClassNotFoundException: com.mysql.jdbc.Driver from [Module "deployment.ProjectOld.war:main" from Service Module Loader]
why i get above errort and how to resolve.
 please advise.
tomcat7.png
0
I want to use my android apps without any android simulator easily.
I want to use asphalt extreme for pc , but without bluestacks. Mostly all sites are giving reference of emulators. But it hangs my computer badly. And even sometime I need to restart it.

Is their any method of using such android apps just like the way we use it on our mac like just a click on the app icon and we could play it easily.

It would be really thankful to you for such great help.

Regards
- Palak Joshi
0
Hi,

When i tried below simple hibernate example from eclipse it worked fine.(i just downloaded source code from link and imported general project and then archive file)

http://www.javatpoint.com/example-to-create-hibernate-application-in-eclipse-ide



When i tried from command prompt i am getting below error while compiling
http://www.javatpoint.com/steps-to-create-first-hibernate-application

hibernate\example>javac *.java
Note: StoreData.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

i tried as below

hibernate\example>javac -Xlint:unchecked StoreData.java
Note: StoreData.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.


still not working how to fix it/

please advise
hibernate1.png
hibernate2.png
0
What does it mean to be "Always On"?
LVL 5
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Hi,

I would like to get attached hibernate jars. What is best and easy way to download them.

antlr-2.7.7
dom4j-1.6.1
hibernate-commons-annotations-4.0.5
hibernate-core-4.3.11
hibernate jpa 2.1
jandex 1.1.0
javaassist 3.8.1
jboss-logging 3.1.3
jboss-logging-annotation
jboss-transaction-api
 please advise
0
we developed java/adf  application published over the internet.

Below is the order of accessing the server  app URL

F5 LBR  --->    OHS server  --> Weblogic server

when try to access the URL from  
 Mircosoft IE --> it is Good

Chrome      -> redirecting  HTTPS  url --to-> HTTP,   thus application not able to access

Firefox       ->  redirecting  HTTPS  url --to-> HTTP,   thus application not able to access

Can you please, advise any further settings are required here, browser side or Else where
0
We have a few sites that run tomcat and im looking for the best starter references to learn how to manage tomcat. eventually i want to be able to manage the SSL functionality and replace the self issued certs.
0
Hi,
I have noticed the attached error in Weblogic Server and the user mentioned that the application client crashed on him.
I could not find much on google related to this.

Please help!

Thanks!
wls_error.txt
0
We are using JavaScript environment inside of another product.

I would like some code that would list all of the functions that are available ?

Its simple to interrogate an object for all of its methods and properties.
But how do we list all the possible top level objects/Methods/Properties that java and/or the vendor may have exposed ?

Thanks
0
I have to learn JAVA,

Which book would get me started.

I had some class room lessons about 5 years ago.

And that is the only background i have

Toni
0
We try to print from this link:
http://coupons2.smartsource.com/smartsource/index.jsp?Link=2Z3E3OLYYRZIQ

We get different errors depending on which browser we use.
FF gets "the plugin has vulnerabilities" and the window closes and we get this:
Java and Browser version requirement verification is not successful!
System Details       Current Version      Supported Version
             
Browser       Firefox 48      Firefox 48
Operating System       Windows Vista      Windows Vista
Java/JRE Version       Java Not Detected       1.6.0

We meet all the requirements for Firefox.

Using IE9.0 which by the way has always in recent weeks been the fix for this problem because Windows can find Java and other  browsers appear to have some issue, we get a different message.

Same for Safari which the wesbite recommends along with FF and IE.
They are compatible with Vista.
And the exact same link above will not print on a friends system and they have IE 11 and Windows 7 and they can not print either from the same link.

One error we get is about the version of Java but we have the latest version. Another error is something related to Java Security.
To heck with security we want Java to print anything we choose.

We have added the www.smartsource site to the exceptions in Java and that does not work.
Here is some message we got.

We did last week get results by going straight to smart source dot com instead of through a 3rd party site and that fails today. Another site which also uses java is coupons dot com.…
0
Hi,
I'm new to EE and a novice with Java.   I am in the middle of making changes to an existing piece of Java Code.   My objective is to add a link which points to a csv file which is created in java at the same time it creates the email with same content.   However, I'm using a compiler (Eclipse) which I am totally unfamiliar with.  The code runs server side and generates emails from the network.   I am debugging client side, and do not have the authority to create the emails on my machine. (Generates loads of errors).

When I select the changed section of code and try step into or to display or inspect, I get multiple errors.   Any suggestions on how to test what I changed?   I need to produce the csv file.

Here is the function that I modified.   If you see anything glaring, please point it out.   Or, if you have a work around to run the code for full testing, I would be grateful.    Thank you!

	private String fillFilesProcessedReport(String vendor, String logPath)
	{

		String content ="";
		String line="";
		String[] splitResults;
		ArrayList fileNames = new ArrayList();
		ArrayList fileContents= new ArrayList();
		String fileName="";
		String indexContents="";
		
		maxIndexFileNameLength=19;
		processedCnt=0;
		if(vendorNumber == 0 )
		{
			content += "The following files have been processed succesfully through the LifeFTP Process.\n";
			//content += "Please click here for the excel spreadsheet:  \\\\svdw-img1\\image\\FTP\\LifeFTPCRL\\Logs\\output.csv   

Open in new window

0
I am using Spring MVC framework to develop my Java Web application.
I put a config.properties under src/main/resources.
a=1
c=2

Open in new window

In my Spring MVC controller, I use code like below to retrieve the config value.
                        InputStream inputStream = getClass().getClassLoader().getResourceAsStream(propFileName);
			if(null != inputStream) {
				prop.load(inputStream);
			} else {
				throw new FileNotFoundException("property file not found in the classpath");
			}
			
			a = prop.getProperty("a");
			b = prop.getProperty("b");

Open in new window


And then I packaged the project with "mvn clean package" and deployed the war into Tomcat's webapps folder.

However, with this approach, my config.properties is packaged into the war and it is hard to change.

So would some one please provide a way to solve this problem? Can I use spring to read external config file? Please note that I need to read the config file every time the controller method is called instead of loading it when spring starts. Thanks!
0
Independent Software Vendors: We Want Your Opinion
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

I had this question after viewing how can a drools rule file output and input be used as a part of SOAP request?.

I want to go through Basics of Drool Rule Engine with few samples. It should cover how Java interacts with Drool.
0
Hi People,

Can anyone please suggest me which log files I can delete in the below directory from Windows VCenter 5.1 U1:

C:\Program Files\VMware\Infrastructure\SSOServer\logs
C:\Program Files\VMware\Infrastructure\tomcat\logs
C:\ProgramData\VMware\VMware VirtualCenter\Logs
C:\ProgramData\VMware\VMware Update Manager\Logs 

Open in new window


I need to clear up some disk space in physical server before upgrading it to VCenter 5.5 U3e.

Thanks,
0
I'm wondering if its possible to use JKS as an alternative to zookeeper or databases..
im writing an app that has some important information that needs to be created upon startup, this information should be kept safe/secure/encrypted.  upon shutting down the app, i'd like the created info to be stored on disk, and next time server starts back up to load this info from .jks file... im pretty sure its possible but i've yet experience a situation where someoen stored more then just a hash/pw/private key in a .jks file...

i've read " The keystore a database which holds encrypted information and the information about how to decrypt it. If you do not specify a keystore, the default keystore to use is a file called .keystore in your home directory." from https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6/html/Administration_and_Configuration_Guide/Create_a_Java_Keystore_to_Store_Sensitive_Strings.html so hence my question.

thx for the feedback
0
I have to install JDK1.7_67 32 on a server as a prerequisite for an application. I tried a lot but could not download this. can anyone help me with a link from where I can download the version of JDK
0
Hi,
We have the tomcat variables set in the tomcatw.exe  JAVA options on windows, but I want to get the Java Initial memory and Java Max memory settings results in command line.

I tried jinfo -flags pid and catalina.exe version

Please help me with the command to get the initial memory and max memory pool settings of a tomcat instance.

Thanks
0
Our enterprise application deployed in Jboss wildfly 8.2(Centos 7). The issue is that after a month of jboss restart, the file system operations slow down to one tenth. I.e. if I had a simple static text file of size 1 GB hosted in my apache, downloading it to my local box would be done in like say 3 mins. But after a month, the same operation takes 30 mins. On restarting the jboss, the issue clears off immediately. There is no significant cpu, memory or IO spike in the system.

The total count of open files was close to 5.5 million vs max of 5.7 million. The output of "lsof -p " was showing only 5k records, whereas dumping the entire "lsof" and then grepping the jboss pid shows up a huge number.

$$$ lsof | wc -l -> 3552282

$$$ lsof | awk '{print $2}' | grep jboss-pid | wc -l -> 2760622

Out of the 2.7 million files opened by jboss, 1.2 million is showing up as given below. After a restart of jboss, the open files come down, but this number keeps on increasing and ultimately results in slowness. This definitely points to a socket leak, but how do I debug this further?

$$$ grep "protocol: TCP" /tmp/lsof.41321 -c -> 1203852

java 41321 106902 sf-admin 2724u sock 0,6 0t0 1256280582 protocol: TCP

java 41321 106902 sf-admin 2725u sock 0,6 0t0 1247336438 protocol: TCP

java 41321 106902 sf-admin 2726u sock 0,6 0t0 1247336439 protocol: TCP
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
>