back soft

مطالب مرتبط با «tomcat» در back soft | نویسنده: استخدام کار

Can a Spring Boot application be terminated within code when Tomcat server cannot start?

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

How to add headers in Tomcat web.xml?

Vote count:
 0We are adding security headers for our websites and we are trying with options available. we have fixed the security headers in Apache servers under httpd.conf file.Now we are updating the security headers for our websites w...

ادامه مطلب

where to config database in production in laravel?

Vote count: 0 after laravel is deployed to a server. Somehow even I configured root/config/database.php 'mysql' => [ 'driver' => 'mysql', 'host' => env('DB_HOST', 'localhost'), 'port' => env('DB_PORT', '3306'), 'database' => env('DB_DATABASE', 'changed to my db name'), 'useame' => env('DB_USERNAME', 'changed useame'), 'password' => env('DB_PASSWORD', 'changed password'), 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => true, 'engine' => null, ], I changed the three fields above. Shouldn't that the only config need to be done in order to setup the database in production? Is there anything that I am missing about laravel 5.3? asked 51 secs agoDora Let's block ...

ادامه مطلب

Adding custom HTTP header to SignalR Hub

Vote count: 0 Is it possible to add a custom HTTP header to SignalR Hub from JS client when the coection starts? My SignalR hub is shared both by my mobile and web client. I can pass a header from the mobile client but I'm not sure if this is possible to do this from the web client. This is what I'm trying to do var name = Context.Request.Headers["useame"]; how do I differentiate between the web and mobile client? asked 1 min agoAhmed Mujtaba Let's block ads! بخوانید...

ادامه مطلب

JRE getting crashed when using SVNKit inside a web app on tomcat server

Vote count: 0 I am trying to handle svn operations through a web portal using SVNKit with spring. I am able to perform separate operations like commit,cleanup,update etc. My commit code goes like : public Exception commit(String user, String password, String fileName,String comment) { Exception svnException = null; try { SVNUtil.cleanUpSVN(); ISVNAuthenticationManager authManager = SVNWCUtil.createDefaultAuthenticationManager(user, password); ISVNOptions options = SVNWCUtil.createDefaultOptions(true); SVNClientManager svnClientManager = SVNClientManager.newInstance(options, authManager); SVNCommitClient svnCommitClient = svnClientManager.getCommitClient(); File commitFile = new File(fileName...

ادامه مطلب

Tomcat server setting with Intellij

Vote count: 0 I searched about how to set Tomcat as my project's server but still haven't figured out so let me ask you why. I have Tomcat but get error message which say "the selected directory is not a valid Tomcat home" could you tell me why I get this message?enter image description here Thanks in advance. asked 36 secs agoMasanari Miyazaki Let's block ads! بخوانید...

ادامه مطلب

IIS and Apache directories from same domain name

Vote count: 0 I have a website and a mobile app backend panel. The website that I have is built in wordpress deployed on apache server. The mobile backend is built in .NET and works from IIS server. Can I access both of these under same domain names? eg: domaiame.com -- Points to wordpress website on apache and domaiame.com/webservices -- Points to mobile app backend on IIS Please suggest the best solution for this. asked 1 min agoAspiring Developer Let's block ads!...

ادامه مطلب

Starting two embedded tomcat cause "factory already defined" exception

Vote count: 0 I'm using Gradle to start 2 embedded tomcat 8.0.33 servers, one run the main application is the other mock a microservice the main application talks to. The problem is I'm getting an exception with details of "factory already defined". Did someone else run into this? asked 50 secs agoIdo Ran Let's block ads! بخوانید...

ادامه مطلب

Why is request.getRemoteUser() returning the tomcat windows service account sometimes

Vote count: 0 I'm trying to get windows authentification to work with a 3rd party application developped with GWT. I'm hosting the app with tomcat, on a windows server. I access the site through an IIS proxy (installed following the tomcat's documentation). If i modify a .jsp of the webapp to display "" , I get the useame i'm hopping for, my windows account. But the webapp authenticate me with the account I installed the Tomcat windows service with on the server. In the (decompiled) source code of the webapp, i see a call to the exact same "request.getRemoteUser()" , so I wonder where can be the difference. Here are the decompiled classes : import javax.servlet.http.HttpServletRequest; publi...

ادامه مطلب

How to debug javascript with Eclipse running local Tomcat server

Vote count: 0 There are a lot of questions on SO about how to debug a standalone piece of Javascript - that isn't what I want. None of the previous Eclipse/javascript questions seem to be on point, which surprised me. I am using Eclipse for Java EE (Neon, the latest version) to develop a JSP/servlet website - a full website, not just javascript, and not just java/jsp - everything together. I can compile my Java and "debug as" on an instance of Tomcat spawned by Eclipse, and the web pages show up inside of a window in Eclipse. I can set and hit Java breakpoints all day long while using "debug as" - but setting breakpoints in javascript doesn't do diddly squat. I've been having to run a standa...

ادامه مطلب

Tomcat 8 Virtual Hosts - configuration works in previous versions

Vote count: 0 on prod environment I have few web applications hosted on diferent virtual hosts. It worked in few versions of Tomcat (7) but when i did upgrade to version 8 i just caot use this config: I this case when i put domain name in browser i get 404, if i will use hostname+app name it works. Then i changed docBase to application path on server (D:..sites123) and it worked. But in this case i caot use subdomain.subdomain.domain.com virtual host pointed to the same application. (alias should be used instead). And it's also a problem when i want domain.com/client; domain.com/client2 to be used poited to same application (even if it's one application it crashes because of slash in virtual...

ادامه مطلب

Tomcat can't start normally

Vote count: 0 Can someone help me solve the problem? When I try to start tomcat by startup.bat or tomcat8.exe , tomcat can't start.But it can work in Eclipse. Error log is as below: 25-Jun-2016 22:21:17.573 SEVERE [main] org.apache.catalina.startup.Catalina.start The required Server component failed to start so Tomcat is unable to start. org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.startup.Catalina.start(Catalina.java:625) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.r...

ادامه مطلب

Tomcat started but services.msc says it's not

Vote count: 0 I know most of the questions here are tomcat is started but can't access localhost:8080. Mine is the other way around. It is stopped but it seems that it is not. I have tomcat7 and it is started (can access our application) but the icon on the taskbar says it is not. I checked services.msc also and it says it is stopped. Task manager shows process tomcatw7*32 is ruing. I can also access localhost:8080. Thanks, any help will do. Regards, Francis asked 1 min agoFrancis Let's block ads! بخوانید...

ادامه مطلب

Tomcat instances stucks

Vote count: 0 We are having an we application which is hosted on UNIX server and where apache and tomcat instances are ruing.often the web page is not opening for search functionality is not working...to fix that we need to restart the apchae-tomcatctl instances..but when we are executing the command ./apache-tomcatctl status..it is showing as up.but the application page is not coming..we then stopped and start the service.. For permanent fix we are hoping to put alert on Apache and tomcat instances and want to receive mail when it gets stuck or stopped.so is there any possible way to do that??? Please need help on these. asked 1 min agoarit chakraborty Let's block ads! بخوانید...

ادامه مطلب

tomcat-maven-plugin with multiple modules building one war only

Vote count: 0 I try to build a web application based on multiple maven modules. One of the modules is called "web" and is solely responsible to package a war which should be deployed to a tomcat using the tomcat7-maven-plugin. I have following modules defined in my parent.pom: common persistence persistence-embedded service rest web All of them are combined into one web-application-war, the web module has set packaging to war. The problem is, that my war file is deployed for each submodule (and the main-parent-module) over and over again when I run mvn tomcat7:redeploy, which leads to 7 deployments. Apparently, this is not how it should be. The tomcat7-maven-plugin configuration currently lo...

ادامه مطلب

Issue with deploying applications on Tomcat 7 and 8 from Eclipse Mars EE

Vote count: 0 I am trying to deploy my Spring application to Tomcat 7 or 8 server (I have both versions installed). Both Tomcat 7 and 8 are installed correctly and are accessible on localhost:8080. In Eclipse Mars EE I added Tomcat 7 and 8 as servers (see the picture below). Then I built the project (Maven), opened the Servers tab in Eclipse and clicked on No servers are available. When I want to specify Tomcat 7 (or 8), the field server name is empty (see the picture). The strange thing is that before installing Tomcat 7, this field was filled out and the button Next was available, however in that case there was a message Unknown server... What am I doing wrong and how to solve this issue? ...

ادامه مطلب

Error during artifact deployment Tomcat 9 intellijIdea

Vote count: 0 I'm deploying a Spring web-application on Tomcat 9, IntellijIdea 2016.1.1 And when I start the server , I get this: C:UsersBirthrightDownloadsapache-tomcat-9.0.0.M4apache-tomcat-9.0.0.M4bincatalina.bat run [2016-04-29 07:43:45,681] Artifact AutoServ:war exploded: Server is not coected. Deploy is not available. Using CATALINA_BASE: "C:UsersBirthright.IntelliJIdea2016.1systemtomcatTomcat_9_0_0_M4_AutoServ" Using CATALINA_HOME: "C:UsersBirthrightDownloadsapache-tomcat-9.0.0.M4apache-tomcat-9.0.0.M4" Using CATALINA_TMPDIR: "C:UsersBirthrightDownloadsapache-tomcat-9.0.0.M4apache-tomcat-9.0.0.M4temp" Using JRE_HOME: "C:Program FilesJavajdk1.8.0_77" Using CLASSPATH: "C:UsersBirthright...

ادامه مطلب

java.io.IOException: Broken pipe within an Apache Tomcat valve

Vote count: 0 I am working on a SAML 2.0 based single-sign-on, Apache Tomcat valve. When testing my implementation I cam across the following set of errors which seem to occur intermittently to certain requests passed through the valve. 28-Apr-2016 23:29:50.798 SEVERE [http-nio-8080-exec-1] org.wso2.appserver.webapp.security.saml.SAMLSingleSignOn.invoke An error has occurred when processing the request org.wso2.appserver.webapp.security.utils.SSOException: Error occurred while writing to HttpServletResponse at org.wso2.appserver.webapp.security.saml.SAMLSSOManager.sendCharacterData(SAMLSSOManager.java:299) at org.wso2.appserver.webapp.security.saml.SAMLSingleSignOn.handleUnauthenticatedReque...

ادامه مطلب

Requested resource is not available - Maven/Servlet/Tomcat

Vote count: 0 I have created a Maven Project with Dynamic web module enabled in Eclipse. I have a index.html page that has a form which sends data to a Servlet. My WEB-INF/web.xml looks like this: Archetype Created Web Application test test servlet.test test /testing I have a servlet named test under Java Resources/src/main/resources/servlet/test.java I did Run as Maven Clean > Build success. Then again Run as Maven Build > Goals- package > Run > Build Success. Then ran the code in Tomcat server. I am able to see my index.html page but on submitting the form I am getting the following error: HTTP Status 404 - /servletsample/test type Status report message /servlettest/inttest description The...

ادامه مطلب

I am getting issue with tomcat startup

Vote count: 0 I am using tomcat 8.5.0 | jdk 1.8.0 for my application. While starting tomcat I am getting error as "SEVERE: An incompatible version 1.1.33 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.2.2". My Application deployment also not successful. Any one know why this is giving error on startup. asked 47 secs agouser3876801 Let's block ads! بخوانید...

ادامه مطلب

برچسب‌های مرتبط

where to configure root guard | where to configure dns in linux | where to configure automapper | where to configure maven repository | where to configure tomcat port | where to configure dns | where to configure virtual host in apache | where to configure nat | where to configure dhcp snooping | where to configure nginx