Create JMS Resources Using WLST

connect(’system’,’weblogic’, ‘t3://localhost:7001′) # Creating a JMS Server edit()startEdit()cd(‘/’)print ‘Creating JMS Server.’cmo.createJMSServer(‘JMSServer0′)cd(‘/JMSServers/JMSServer0′)cmo.addTarget(getMBean(‘/Servers/AdminServer’))activate() # Creating a Module startEdit()cd(‘/’)cmo.createJMSSystemResource(‘JMSSystemResource0′)cd(‘/JMSSystemResources/JMSSystemResource0′)cmo.addTarget(getMBean(‘/Servers/AdminServer’))cmo.createSubDeployment(’subdeployment0′)activate() # Creating Queue startEdit()print

Continue reading

Troubleshooting too many open files issues

Servlet failed with IOExceptionjava.io.FileNotFoundException:(Too many open files)at java.io.FileInputStream.open(Native Method)at java.io.FileInputStream.(FileInputStream.java:106)at weblogic.utils.classloaders.FileSource.getInputStream(FileSource.java:31)at weblogic.servlet.internal.WarSource.getInputStream(WarSource.java:65)at weblogic.servlet.FileServlet.sendFile(FileServlet.java:400) In this post i’ll try to give

Continue reading